>> vart: I suppose it is something like "Comm@4"
>> Bee: I expect it to be a C++ mangled name.
Does this mean that I can replace my string in GetProcAddress() with the one from the .def file, and then it'll work?
Have you looked at the exports list of your dll? Easiest way to answer your own question I suppose
06-24-2007
CornedBee
Quote:
Originally Posted by Queatrix
>> Bee: Have you written a .def file yet?
No, the compiler does that for me.
That's not the point. The compiler uses the mangled name of the function, and that's unusable for importing. Write a .def file and you can give your function a readable export name.
06-24-2007
Queatrix
Yes, using the def file works! Thank you for your help.