Unbalanced Stack!

后端 未结 3 495

I have written a VC++ dll. The declaration for one of the methods in the dll is as follows:

extern \"C\" _declspec(dllexport)
void startIt(int number)
{
             


        
3条回答
  •  北荒
    北荒 (楼主)
    2020-12-11 05:23

    Could you be missing CallingConvention=CallingConvention.Cdecl in your DllImport attribute?

提交回复
热议问题