我用C# 调用C语言DLL问题C 给出的例子是:
EXPORT long _stdcall addCon(int iType ,char *szPar,int iID);而我C#这么写的:
public static extern long addCon(int iType, string szPar, int iID)调用出的问题:
未能从程序集“Couns_Test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”中加载类型“Couns_Test.Form1”,因为方法“addCon”没有实现(没有 RVA)。请问各位,这个问题是怎么解决。