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]

C++ DllMain (bug?)


When I build the enclosed test case with the doit.bat file included, I run

loadc.exe

to call LoadLibrary for a C dll that has only a DllMain function.  The output 
affirms that the C DllMain function is called twice.  Then I run

loadcxx.exe

to call LoadLibrary for the C++ dll that has only a DllMain fucntion.  The 
source file is almost the exact same file as the C source file, yet I get no 
message saying that the DllMain function was called for the C++ dll.

I am using gcc version 2.95.2.

Am I missing something, or is this a bug?

Thanks,
Jason

--
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]