On Wednesday, 25 March 2015 at 00:26:21 UTC, Adam D. Ruppe wrote:
On Wednesday, 25 March 2015 at 00:09:33 UTC, mzfhhhh wrote:
i use "implib.exe /system func.lib func.dll" to create a func.lib.

You might also need to specify the .def file as the final argument to that.

http://digitalmars.com/ctg/implib.html

The def file can list aliases for the functions. Maybe try it without the /system flag too. I know there's a way but I don't know exactly what, I just tend to guess and check a little...

1.def file:
  LIBRARY "func"

  EXPORTS
  _sub@8 = sub

2.create lib
  implib.exe func.lib func.def

-------------------------
now it works fine,thanks!

Reply via email to