The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => Miscellaneous Projects => Windows Projects => Topic started by: ToutEnMasm on July 28, 2011, 07:33:39 AM

Title: Dynamic load of libraries
Post by: ToutEnMasm on July 28, 2011, 07:33:39 AM

This tool accept any text files with definitions of prototypes.
He search for PROTO and create a file with the declarations and the code needed to made a dynamic load of the functions.
You need to know the name of the dll with the functions.It is not always easy to find it.
The tool help you to verify that the functions are in the dll.
Title: Re: Dynamic load of libraries
Post by: Vortex on July 28, 2011, 06:25:02 PM
Hi ToutEnMasm,

Kindly, could you please post a real example presenting the usage of the new tool?
Title: Re: Dynamic load of libraries
Post by: ToutEnMasm on July 29, 2011, 07:26:52 AM
Ok,
Here is a step by step sample.
It give two similar files user32.inc and Winuser.sdk
It give the output of StatDyn for this files:Dluser32.txt and DLWinuser.txt
The Dluser32.txt is used in the code sample with some modified and renamed DLuser32.inc.Search for the word modify in DLuser32.inc to view the modifies.
Sample_StatDyn.asm is the code file who show how used the include file DLuser32.inc
Title: Re: Dynamic load of libraries
Post by: ToutEnMasm on July 29, 2011, 02:13:51 PM

Here is a piece of code needed to solve the incompatible name in the CRT
Title: Re: Dynamic load of libraries
Post by: ToutEnMasm on September 25, 2011, 04:21:30 PM
Here is a crt DYNAMIC library (NOT static), using the incompatible name.
SoluceĀ  is complet using translated header's files AND this lib.
a sample is included