How to make DLLs in cygwin for MSVC and BCB

Patrick Rotsaert patrick.rotsaert@tts-online.be
Thu Jun 23 13:14:00 GMT 2005


> you should do all your argv processing before calling
> cygwin_dll_init(), because it will trash your argv and argc.
Ok, but this was only a small test program to see if I manage to load 
cygwin1.dll functions.
The plan is to do this in a DLL, later on. I guess cygwin_dll_init will 
then have to be called in DllMain, yes?
But then, what happens when DllMain returns? The stack space will no 
longer exist.

Thanks,
Patrick.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list