|
From: Noorez K. <coo...@ho...> - 2004-08-25 21:26:10
|
I have some questions for dll writing. In the tutorials that I read, they say that the dllMain() function needs to be in C code. (use extern "C" if writing in c++). Do I have to do that if my dll will just be used by C++ code? And the functions that I export in the dll, do they also have to use the extern "C" command as well? One more, if I wrote a function using c++ components, then would extern "C" cause errors because it doesn't recognize the code because of being compiled as C of will the name just be exported without mangling... _________________________________________________________________ Take charge with a pop-up guard built on patented Microsoft® SmartScreen Technology http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. |