flat assembler
Message board for the users of flat assembler.

Index > Windows > I don`t understand linking, help please.

Author
Thread Post new topic Reply to topic
veach1



Joined: 16 Jul 2004
Posts: 165
veach1 28 Sep 2005, 09:12
I`ve got an exe (22Kb) written with format PE GUI 4.0 directive. Then I did the same with format MS COFF, linked with GoLink... size of output didn`t chage.

I wish to use RAGrid.dll, and I want to build my exe with DLL functions included in code, i.e. my exe should run properly without DLL.
What sohuld I do to complete my task?

_________________
dream of mind creates a monster
Post 28 Sep 2005, 09:12
View user's profile Send private message Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier 28 Sep 2005, 09:52
veach1,

You can use the radasm\grid\lib\ragrid.lib file and not have to use ragrid.dll

hth,

farrier

_________________
Some Assembly Required
It's a good day to code!
U.S.Constitution; Bill of Rights; Amendment 1:
... the right of the people peaceably to assemble, ...
The code is dark, and full of errors!
Post 28 Sep 2005, 09:52
View user's profile Send private message Reply with quote
veach1



Joined: 16 Jul 2004
Posts: 165
veach1 28 Sep 2005, 12:05
Linking with LIB files will make my program DLL independent?
Post 28 Sep 2005, 12:05
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 28 Sep 2005, 12:09
for some LIBs yes, for some LIBs no. Some LIBs are only references to DLLs, it's workaround in HLLs whose syntax cannot directly import from DLL.
Post 28 Sep 2005, 12:09
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier 28 Sep 2005, 20:54
veach1,

The ragrid.lib has the same functionality as the .dll

The only drawback is that linking the .lib file with your code will increase the size of your executable.

hth,

farrier

_________________
Some Assembly Required
It's a good day to code!
U.S.Constitution; Bill of Rights; Amendment 1:
... the right of the people peaceably to assemble, ...
The code is dark, and full of errors!
Post 28 Sep 2005, 20:54
View user's profile Send private message Reply with quote
veach1



Joined: 16 Jul 2004
Posts: 165
veach1 29 Sep 2005, 06:30
Thank you all for explanations, now I feel enlightened Smile
Post 29 Sep 2005, 06:30
View user's profile Send private message Reply with quote
zolkefli



Joined: 05 Mar 2005
Posts: 12
zolkefli 11 May 2006, 06:11
Laughing
Post 11 May 2006, 06:11
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.