Thanks! I'll try that and see if it works.
If it is because of the calling conventions, can I remove WINAPI safely as it becomes stdcall in the end? I've noticed that removing it the name of the...
Type: Posts; User: Kall
Thanks! I'll try that and see if it works.
If it is because of the calling conventions, can I remove WINAPI safely as it becomes stdcall in the end? I've noticed that removing it the name of the...
Don't worry for asking :). I'm trying to write a plugin for a closed source program (so I can't access its sources). The program looks for a certain function in plugins DLLs in runtime which...
Thank you very much for the info!
Doing it that way makes it more maintainable, but the results are the same. I keep getting a dll with that function exported but with the name of "_foo@4" instead...
First I tried exporting like this:
__declspec (dllexport) int WINAPI foo(int foo2) {
return 0;
}
But the actual name exported was not foo but something like _foo@43253.
Then I tried...