This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Mixing GNU-Win32 and MSVC++
- To: gnu-win32 at cygnus dot com
- Subject: Re: Mixing GNU-Win32 and MSVC++
- From: pete at horus dot cix dot co dot uk (Pete Jordan)
- Date: Sat, 25 Jul 1998 11:15 +0100 (BST)
- Organization: Horus Communications Ltd
- Reply-To: gnu-win32 at cygnus dot com
Mikey <jeffdbREMOVETHIS@goodnet.com> wrote:
> Did you try using -k on the dlltool command line when creating your
> .exp file?
Tried it and it didn't help.
> otherwise you will need to do
> EXPORTS
> _funk@1
> _funk = _funk@1
That did the trick, or rather just
EXPORT
funk=funk@4
as the underscores are handled automatically.
I've singularly failed to get things to work the other way (accessing
functions in the main program from my plugin), but I've worked round that
by using dynamic linkage (LoadLibrary()/ImportProc()/UnloadLibrary()).
Next step is linking in Perl... :)
Thanks for your help,
Pete Jordan ~ Horus Communications Ltd ~ http://www.horus.cix.co.uk/
"As soon as we have defined something, we have ipso facto created
three things: whatever is included in our definition, whatever is
not included in our definition, and the relationship between them."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".