This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

mingw32 DLL getting main args?


Why does a DLL, made with Mumit's mingw32 2.95 release, need to call
msvcrt.dll's __getmainargs?

When the DLLMainCRTStartup function receives DLL_PROCESS_ATTACH it calls
_mingw32_init_mainargs, which then calls __getmainargs. I don't want my
DLL to be dynamicly linked to msvcrt.dll, but it is because of this. Why
does a DLL need to parse the command line?

Daniel


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]