Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Programming (http://www.abandonia.com/vbullet/forumdisplay.php?f=25)
-   -   Linking problem (http://www.abandonia.com/vbullet/showthread.php?t=27261)

The Fifth Horseman 18-06-2011 10:14 PM

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?

The Fifth Horseman 18-06-2011 10:42 PM

Never mind. The problem was with the fact I was using TASM rather than TASM32 before linking, and that I didn't know it had to be set to be case-sensitive too:
Code:

tasm32 /ml winbasic.asm


The current time is 09:38 AM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.