News:

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

XP Library and include file update.

Started by hutch--, January 23, 2006, 05:45:28 AM

Previous topic - Next topic

hutch--

Now that Pelle has tweaked POASM to handle the masm form of ECHO, I have added the duplicate guards in all of the include files so that a duplicate include file will display a warning and I have set both the library construction and the include file generation in the same batch file MAKEIT.BAT.

I have added advice at the end of the batch file for anyone using one of the more recent versions of WINDOWS.INC with MASM. Comment out the prototype for "wsprintfA" near the start of the file as it is now built directly from the DEF file and will generate an error if its left there.

This setup seems to be testing up OK and the include files are designed for both POASM and MASM.

[attachment deleted by admin]
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Vortex

Hi Hutch,

It looks fine, nice job :U

I know maybe it's not so important to mention but gapi32.def contains some funny duplicate function names :
LIBRARY gapi32
EXPORTS
"_1976@20"
"_1976@24"
"_1978@20"
"_1978@24"
"_1980@20"
"_1980@24"
"_1983@20"
"_1983@24"
"_1987@20"
"_1987@24"
"_1990@20"
"_1990@24"
"_1@20"
"_1@24"
"_7@20"
"_7@24"
.
.
"_JIS@20"
"_JIS@24"
.
.
"_NEC@20"
"_NEC@24"


Why a DLL should export the same function names with different number of passed parameters?

zooba

Quote from: Vortex on January 23, 2006, 07:04:09 PM
Why a DLL should export the same function names with different number of passed parameters?

Overloaded functions :U

Vortex

Hi zooba,

Yes, you are right. It's a C++ feature, thanks for the info.