Sucess compiling Alex Tweedly DLL!
Mark Wieder
mwieder at ahsoftware.net
Fri Jun 24 17:53:22 EDT 2005
Alejandro-
Friday, June 24, 2005, 1:11:41 PM, you wrote:
AT> make.exe -f
AT> "C:\WINDOWS\Desktop\ExternalSDK\Makefile.win" all
AT> dllwrap.exe --output-def libexternal.def --implib
AT> libexternal.a external.o XCmdGlue.o
AT> -L"C:/DEV-CPP/lib" -L"C:/WINDOWS/Desktop/ExternalSDK"
AT> --no-export-all-symbols --add-stdcall-alias --def
AT> external.def -o external.dll
AT> external.o(.text+0x137e):external.c: undefined
AT> reference to `SelectObject at 8'
I would look into the makefile. It looks to me like the standard
Windows libraries are not getting linked. Are you including them
and/or does Bloodshed need you to do this explicitly? Some compilers
do this automatically, some need you to specify them yourself. There
is probably a linker option for this.
...
AT> C:\DEV-CPP\BIN\DLLWRAP.EXE: C:\DEV-CPP\BIN\gcc exited
AT> with status 1
Ah... I hadn't realized that Bloodshed C used gcc.
--
-Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list