>"__declspec(dllexport)" is ok, you don't need to modify the .def file. Or, you can modify the .def file and then, the "__declspec(dllexport)" is useless. The problem is the extern "C", as Albert already said.
>
>Another "trick": if your dll is not really C++, rename the .cpp files to .c and you don't need the extern "C".
That's a nice one to add to the T&T book. Thanks.
>Vlad
Alexandre Nobre
Alpha Bytes Computer Corp.
Did you know that there are innocent people dying in East Timor?
It helps if you do...
I suppose you don't need glasses if you're able to read this line