Noorez Kassam wrote:
> 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?
yes.
> And the functions that I export in the dll, do they also have to use the
> extern "C" command as well?
no.
> 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...
yes.
-alvin
|