flat assembler
Message board for the users of flat assembler.

Index > Windows > MSCOFF example

Author
Thread Post new topic Reply to topic
hamoz



Joined: 14 Dec 2006
Posts: 29
hamoz
I wanna link MSCOFF example to a real exe program

I am a newbie and I hope anyone can help me
thx Wink
Post 29 Jan 2007, 00:40
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
In one COFF program, you must export label which will be entry point:
Code:
public main as "_main"    


then link all objects: Example with MS Link
Code:
link /entry:main /subsystem:console obj1.obj obj2.obj kernel32.lib    
Post 29 Jan 2007, 00:49
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.