我想要这个或者我应该说我想在Form1(虚空)中解雇或调用Wfs_StartUp
,Wfs_Open
,Wfs_Execute
等函数但我得到了这些错误:
错误LNK2028:未解析的令牌(0A000371)“int _cdecl mytestapp :: Wfs_Execute(unsigned short)”(?Wfs_Execute @ mytestapp @@ $$ FYAHG @ Z)在函数“public:_clrcall mytestapp :: Form1 :: Form1”中引用(void)“(?? 0Form1 @mytestapp @@ $$ FQ $ AAM @ XZ)
此错误报告两次,但在第二个错误中报告
错误LNK2019:未解析的外部符号“int _cdecl mytestapp :: Wfs_Execute(unsigned short)”(?Wfs_Execute @ mytestapp @@ $$ FYAHG @ Z)在函数“public:_clrcall mytestapp :: Form1 :: Form1”中引用(void )“(?? 0Form1 @ mytestapp @@ $$ FQ $ AAM @ XZ)
第三个错误:
错误LNK1120:2个未解析的外部。
答案 0 :(得分:0)
错误指向mytestapp :: Wfs_Execute函数。我会检查: