Hi !
I would like to call a function written in a static lib made in masm32 from a VC++ project (visual studio 2008). I have trouble to link it in the project because of the decorated function name.
Can someone please give me a basic template example where you call a function written in a masm32 static lib from a visual c++ project ?
Thank you.
I would like to call a function written in a static lib made in masm32 from a VC++ project (visual studio 2008). I have trouble to link it in the project because of the decorated function name.
Can someone please give me a basic template example where you call a function written in a masm32 static lib from a visual c++ project ?
Thank you.
Just declare your proc as extern-C, stdcall :
extern "C"{
int __stdcall MyProc1(int x,int y);
int __stdcall MyProc2(int x);
}