0
__declspec(dllexport) public void CallMe(wchar_t *p);

The compiled dll renames the "CallMe" procedure to "?CallMe@@ZAPPA_G@Z". How do I prevent this behavior?

1 Answers1

1

You need an extern "C" { } block around your definitions to avoid the C++ name mangling.

jcopenha
  • 3,935
  • 1
  • 17
  • 15