News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Dynamic load of libraries

Started by ToutEnMasm, July 28, 2011, 07:33:39 AM

Previous topic - Next topic

ToutEnMasm


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.

Vortex

Hi ToutEnMasm,

Kindly, could you please post a real example presenting the usage of the new tool?

ToutEnMasm

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

ToutEnMasm


Here is a piece of code needed to solve the incompatible name in the CRT

ToutEnMasm

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