hello,

I was wondering,
is there a way to compile with masm to link all required dlls into the executable?

thanks.
Posted on 2002-01-29 02:18:53 by Ray
Ray,

I am not sure what you are after, MASM handles both statically loaded DLLs at startup and dynamic loaded DLLs at call in the program but it sounds like you are after something else.

Give us some more detail and we may be able to help you.

Regards,

hutch@movsd.com
Posted on 2002-01-29 04:54:25 by hutch--

hello,

I was wondering,
is there a way to compile with masm to link all required dlls into the executable?

thanks.


Take a look at PE Bundle -> http://www.collakesoftware.com
Posted on 2002-01-29 05:37:38 by bazik
Hutch,

Lets say my program uses functions from A.DLL and B.DLL . Now, usually if i compile the program, in order for the program to work A.Dll and B.Dll must be present.
what i am asking is if there is a way to link the Dlls into the executable so it can run on every machine with or without A.dll and B.dll.

sorry for the "essay" above but i forgot the terminologies.
Posted on 2002-01-29 05:48:20 by Ray
BaZik,

Thats it.
Is there a way force masm compiler to do that?
Posted on 2002-01-29 05:58:30 by Ray
>Is there a way force masm compiler to do that?

Nope.

But, if you don't want to buy PE Bundle just to get rid of the dll's you can also try one of these workarounds:

1) Use bin2db from masm32 directory at your dll's, compile them into your programm and drop them at programm start in your apps dir.
2) Same as "1)" but include the dll's as a resource ("RCDATA")

3) Search on google for a tool called "dll 2 lib" (yes, this really exist).
Posted on 2002-01-29 06:11:02 by bazik
Thanks :)
Posted on 2002-01-29 08:06:34 by Ray