Andre via Digitalmars-d-learn
2014-10-21 19:59:50 UTC
Hi,
by copy and paste the example from
http://wiki.dlang.org/Win32_DLLs_in_D
exactly as described, the following errors is thrown:
J:\Projects\Tests\Example>dmd test mydll.lib -g
OPTLINK (R) for Win32 Release 8.00.15
test.obj(test)
Error 42: Symbol Undefined _D5mydll12__ModuleInfoZ
I created a batch program which executes the commands
as described on the wiki page:
dmd -c mydll -g
dmd mydll.obj mydll.def -g -L/map
C:\D\dmd2\windows\bin\implib /noi /system mydll.lib mydll.dll
dmd test mydll.lib -g
Could you check whats wrong with the example and maybe update the
WIKI page?
Thanks.
Kind regards
André
by copy and paste the example from
http://wiki.dlang.org/Win32_DLLs_in_D
exactly as described, the following errors is thrown:
J:\Projects\Tests\Example>dmd test mydll.lib -g
OPTLINK (R) for Win32 Release 8.00.15
test.obj(test)
Error 42: Symbol Undefined _D5mydll12__ModuleInfoZ
I created a batch program which executes the commands
as described on the wiki page:
dmd -c mydll -g
dmd mydll.obj mydll.def -g -L/map
C:\D\dmd2\windows\bin\implib /noi /system mydll.lib mydll.dll
dmd test mydll.lib -g
Could you check whats wrong with the example and maybe update the
WIKI page?
Thanks.
Kind regards
André