Full SDK RC 7 translate and ready to use

Started by ToutEnMasm, May 28, 2009, 12:50:34 PM

Previous topic - Next topic

ToutEnMasm

All versions of windows (win95 to Win 7)
All interfaces translated (-1)
All structures
All constantes
Functions       (a very few number can be missing)
All conditions  (constants switchs are put on Winxp SP3,see translate.inc)
             This allow UNICODE support
              This allow various material adaptations

The ready to use grant you the use of the windows.sdk (many files) without problems.Others files can need a few minor corrections.Tested by compiled of my ide.

http://luce.yves.pagesperso-orange.fr/sdkrc7.cab

NOTES:
Adapting constants switchs to your system,follow this link
http://www.masm32.com/board/index.php?topic=11713.msg88281#msg88281


Using tooltip
in commctrl.sdk , change GE to GT in this structure
Quote
TTTOOLINFOA   STRUCT
   cbSize DWORD ?
   uFlags DWORD ?
   hwnd DWORD ?
   uId DWORD ?
   rect RECT <>
   hinst DWORD ?
   lpszText DWORD ?
IF ( _WIN32_IE GE 00300h)
   lParam DWORD ?
ENDIF
IF ( _WIN32_WINNT GT 00501h)            ;modify here,SDK say GE it's wrong for XP
   lpReserved DWORD ?
ENDIF
TTTOOLINFOA      ENDS





UtillMasm

 :U
;+ IF > endif  D閏ompte des if: 0

filename
c:\sdkrc7\_dbdao.sdk
linenumber
149

I need change my Windows system locale. which one?

ToutEnMasm


There is two set of switchs describe in the sdddkver.sdk.
The _WIN32_ ...  go until 800h               (general system)
The NTDDI_ ... begin at   005000000h      (system xpsp3 ... and more)

To be less simple , microsoft add various switchs

Hopefully some methods can help you defining them
the sdkddkver.sdk  have conditions who made an error message (.ERR) if your choose is incorrect.
Read them and you can fix your master system.

Others can be found reading the many conditions in the Headers files.
Find one with a number and you know like that if the litteral constant  must be defined with a NTDDI_ or a _WIN32_

First read is this lines

Quote
IF DEFINED(_WIN32_WINNT) AND  NOTDEFINED(MIDL_PASS) AND  NOTDEFINED(RC_INVOKED)
IF (DEFINED(WINVER) AND ( WINVER LT 00400h) AND ( _WIN32_WINNT GT 00400h))
.ERR <WINVER setting conflicts with _WIN32_WINNT setting>
ENDIF
IF ((( OSVERSION_MASK AND  NTDDI_VERSION) EQ  NTDDI_WIN2K) AND ( _WIN32_WINNT NE  _WIN32_WINNT_WIN2K))
.ERR <NTDDI_VERSION setting conflicts with _WIN32_WINNT setting>
ENDIF
IF ((( OSVERSION_MASK AND  NTDDI_VERSION) EQ  NTDDI_WINXP) AND ( _WIN32_WINNT NE  _WIN32_WINNT_WINXP))
.ERR <NTDDI_VERSION setting conflicts with _WIN32_WINNT setting>
ENDIF
IF ((( OSVERSION_MASK AND  NTDDI_VERSION) EQ  NTDDI_WS03) AND ( _WIN32_WINNT NE  _WIN32_WINNT_WS03))
.ERR <NTDDI_VERSION setting conflicts with _WIN32_WINNT setting>
ENDIF
IF ((( OSVERSION_MASK AND  NTDDI_VERSION) EQ  NTDDI_VISTA) AND ( _WIN32_WINNT NE  _WIN32_WINNT_VISTA))
.ERR <NTDDI_VERSION setting conflicts with _WIN32_WINNT setting>
ENDIF
IF (( _WIN32_WINNT LT  _WIN32_WINNT_WIN2K) AND ( _WIN32_IE GT  _WIN32_IE_IE60SP1))
.ERR <_WIN32_WINNT settings conflicts with _WIN32_IE setting>
ENDIF












Vortex

Hi ToutEnMasm,

Thanks for your work, I am downloading the zip file.

xandaz

   Hey guys.... been a bit off the grid. I found it hard to get the sdk to work but ended up taking just what was needed for any application and  put it into one include file. I made a find tool that searches sdk and inc filesfor specific text. I passed oneweek trying to find IID_IClassFactory so i built it.
   Tell me what you think. Later and thanks

xandaz

    Well... i just made the thing and forgot to say that i was under the impression it had some issues. And it has. Searching backwards is a problem. No sure i understood how it works. Thanks.