Problems exporting my DLL functions...

Lostmind lostmind@gmx.net
Tue Aug 20 22:23:00 GMT 2002


> gcc -o khook.o -c khook.o
> gcc -shared -o mydll.dll khook.o

Cool, it works, thanx :D

...at least it creates a DLL, but finally two things:

1. How do I tell the compiler/linker what is my DLL-init-function
2. How do I tell the compiler/linker which functions I want to export (I
marked them with EXPORT in the file already, but they didn't seem to be
available in the created DLL)

Thanx, Klaus.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list