Thread: Linking problem
View Single Post
Old 18-06-2011, 10:14 PM   #1
The Fifth Horseman
FUTURE SCIENCE BASTARD
 
The Fifth Horseman's Avatar


 
Join Date: Oct 2004
Location: Opole, Poland
Posts: 14,276
Default Linking problem

I'm trying to compile the examples from http://www.singlix.org/trdos/win32hst.zip with TASM 5.
TASM processes them fine, but when it's time for TLINK32 I end up with this:
Code:
C:\DOCUME~1\UYTKOW~1\MOJEDO~1\Studies\tasm\BIN\winapp>TLINK32 /Tpe /aa /c /V4.0 winbasic.obj,,,import32.lib
Turbo Link  Version 1.6.71.0 Copyright (c) 1993,1996 Borland International
Error: Unresolved external 'GETMODULEHANDLEA' referenced from module winbasic.asm
Error: Unresolved external 'LOADICONA' referenced from module winbasic.asm
Error: Unresolved external 'LOADCURSORA' referenced from module winbasic.asm
Error: Unresolved external 'REGISTERCLASSEXA' referenced from module winbasic.asm
Error: Unresolved external 'CREATEWINDOWEXA' referenced from module winbasic.asm
Error: Unresolved external 'GETMESSAGEA' referenced from module winbasic.asm
Error: Unresolved external 'DISPATCHMESSAGEA' referenced from module winbasic.asm
Error: Unresolved external 'EXITPROCESS' referenced from module winbasic.asm
Error: Unresolved external 'DEFWINDOWPROCA' referenced from module winbasic.asm
Error: Unresolved external 'POSTQUITMESSAGE' referenced from module winbasic.asm
What's the cause? More importantly, how can I fix it?
__________________

"God. Can't you people see I'm trying to commit a crime against science and nature here?"
-- Reed Richards
The Fifth Horseman is offline                         Send a private message to The Fifth Horseman
Reply With Quote