我正在尝试从C ++项目创建dll
我点击了此链接:
using a class defined in a c++ dll in c# code
我遇到了一个问题:
DLL entry point "int __cdecl main (int, wchar_t * * const)" (? Main @@ $$ HYAHHQAPA_W @ Z) cannot be managed; compile to native
我将int main
更改为:
int _tmain (int argc, _TCHAR * argv [])
但是我遇到了一个问题:
unresolved external symbol _main