The windows SDK use header files that can be found only in the vc++.
You can simply put this include files in comment.It is not obligatory to have them.
In case of need here is the full set translated.There are not "ready to use".
A few corrections (masm limitations) can be needed.
http://pagesperso-orange.fr/luce.yves/Vc++header.ace
To use them you must include the translate.inc in FIRST
http://www.masm32.com/board/index.php?topic=11713.0
:U
Move and Replace?event.sdk
I don't understand very well what is your question ??.
i don't know how to use it ? in the asm ?
Quote
i don't know how to use it ? in the asm ?
You use them as include files.
PREFERED METHOD
You can insert them directly in the "ready to use sdk rc7", (Include ...sdk)With windows.inc , put translate.inc first (a little file with some system constants)
;There is work to find macro ... defined in the windows.sdk
;but you can also copy cut some defines in your include source files
;there is work to find all the definitions needed in the windows.sdk
;but you can also copy cut definitions in your include source file
Quote
include windows.inc
include kernel32.inc
....
....
include translate.inc
include ....sdk ;Those who are not in the windows.sdk to avoid redefinition
;You can insert all the vc++ .sdk as this with windows.inc
By defaut,translate.inc think you have XP. (you can make a test as it is)
If you want to adapt it to your system ,follow this link
http://www.masm32.com/board/index.php?topic=11713.msg88281#msg88281
To avoid the couldn' t find this include file ,put the include in comment
all files can be used standalone or most of them
her is translate.inc to use them only with windows.inc
[attachment deleted by admin]
So we can use TCHAR-like programming in MASM now?
it looks great!,thanks for all help .
Quote
So we can use TCHAR-like programming in MASM now?
For masm TCHAR is just a byte.The most common (for several files) are translated in the common standard variables of masm.
Difference between the c++ defines and the masm one:
The typedef in the c++ can be used by cl to write the correct address or value.Masm can't do that.
You are responsible to say to masm if you want to pass an argument by value or by adress.