Go Back   Forums > Community Chatterbox > Tech Corner > Programming
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
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,264
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
Old 18-06-2011, 10:42 PM   #2
The Fifth Horseman
FUTURE SCIENCE BASTARD
 
The Fifth Horseman's Avatar


 
Join Date: Oct 2004
Location: Opole, Poland
Posts: 14,264
Default

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
__________________

"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
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ad Problem esgmaster Old Suggestions 1 04-09-2009 01:20 PM
Problem With Dc++ Dark Piedone Tech Corner 10 13-02-2006 12:46 AM
Linking To Specifik Forum-post? SwampThing Tech Corner 5 03-10-2005 10:35 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 11:57 AM (GMT)

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