flat assembler
Message board for the users of flat assembler.

Index > Windows > How to link the example MSCOFF provided with fasm using LINK

Author
Thread Post new topic Reply to topic
prana



Joined: 28 Aug 2003
Posts: 51
prana 03 Sep 2003, 07:45
Just a quick question here.

How to link the example MSCOFF provided with fasm using LINK?

Thanks.
Post 03 Sep 2003, 07:45
View user's profile Send private message Reply with quote
prana



Joined: 28 Aug 2003
Posts: 51
prana 03 Sep 2003, 08:03
I've tried the following:

D:\fasmd\EXAMPLES\MSCOFF>link /entry:demo /subsystem:console mscoff.obj
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

mscoff.obj : error LNK2001: unresolved external symbol __imp__MessageBoxA@16
mscoff.exe : fatal error LNK1120: 1 unresolved externals

Any help?
Thanks.
Post 03 Sep 2003, 08:03
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8263
Location: Kraków, Poland
Tomasz Grysztar 03 Sep 2003, 12:56
You need to specify the Win32 API libraries.
Post 03 Sep 2003, 12:56
View user's profile Send private message Visit poster's website Reply with quote
prana



Joined: 28 Aug 2003
Posts: 51
prana 03 Sep 2003, 15:54
bah! sorry for that stupid question.
Thanks.
Post 03 Sep 2003, 15:54
View user's profile Send private message 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-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.