开发者

fatal error LNK1118

开发者 https://www.devze.com 2023-04-06 06:41 出处:网络
When I build my dll the \"fatal error LNK1118: syntax error in \'ENTRY\' statement\" occur in definition.def file.So please tell me how to write in the d开发者_StackOverflow中文版efinition.def file.In

When I build my dll the "fatal error LNK1118: syntax error in 'ENTRY' statement" occur in definition.def file.So please tell me how to write in the d开发者_StackOverflow中文版efinition.def file.In somwhere I read about dumpbin.exe.Can I use it in this case.

  • #define ENTRY _stdcall
  • typedef LONG OKERR these are define in other header file. The definition.def file like this.

  • LIBRARY "hello"

  • EXPORTS
  • OKERR ENTRY function1
  • OKERR ENTRY function2
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号