1

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 definition.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
jiten
  • 5,128
  • 4
  • 44
  • 73

0 Answers0