News:

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

MASM Version used in 2005

Started by hfheatherfox07, July 04, 2011, 11:26:59 PM

Previous topic - Next topic

hfheatherfox07

Quote from: MichaelW on July 07, 2011, 01:29:47 AM
Without an equate to PROPSHEETHEADERA, that AFAIK the MASM32 windows.inc has never included, PROPSHEETHEADER should not work, regardless of the MASM version.



It seems to....?????

dedndave

the structure is defined in windows.inc
PROPSHEETHEADERA STRUCT
        dwSize              DWORD ?
        dwFlags             DWORD ?         
        hwndParent          DWORD ?           
        hInstance           DWORD ?     
        union
            hIcon           DWORD ?
            pszIcon         DWORD ?
        ends
        pszCaption          DWORD ?
        nPages              DWORD ?
          union
            nStartPage      DWORD ?
            pStartPage      DWORD ?   
          ends
          union
            ppsp            DWORD ?
            phpage          DWORD ?
          ends
        pfnCallback         DWORD ?
          union
            hbmWatermark    DWORD ?
            pszbmWatermark  DWORD ?
          ends
        hplWatermark        DWORD ?
        union
            hbmHeader       DWORD ?
            pszbmHeader     DWORD ?
        ends

PROPSHEETHEADERA ENDS


i don't find PROPSHEETHEADER
you are somehow changing more than the MASM version   :P

hfheatherfox07

Look down after PROPSHEETHEADERA ENDS

you should see:

PROPSHEETHEADER         equ   <PROPSHEETHEADERA>
LPPROPSHEETHEADER       equ   <LPPROPSHEETHEADERA>

LPCPROPSHEETHEADER      equ   <LPCPROPSHEETHEADERA>
PROPSHEETHEADER_V1_SIZE equ   <PROPSHEETHEADERA_V1_SIZE>

PSCB_INITIALIZED        equ   1
PSCB_PRECREATE          equ   2

CreatePropertySheetPage equ   <CreatePropertySheetPageA>
PropertySheet           equ   <PropertySheetA>


That is in MASMv8 VS MASMv9 and 10

hfheatherfox07

I would upload the MASMv8 that I have but  I don't know if that would upset Hutch  ::)

MichaelW

What do you mean by MASMv8? The windows.inc that you posted is a MASM32 include file that was included with some older version of MASM32 package. Now that I check the equate is present in the oldest version that I have installed, the 1.28 release apparently from 2005, but not in the later versions.









eschew obfuscation

hfheatherfox07

Quote from: MichaelW on July 07, 2011, 08:32:12 PM
What do you mean by MASMv8? The windows.inc that you posted is a MASM32 include file that was included with some older version of MASM32 package. The equate is present in the oldest version that I have installed, the 1.28 release apparently from 2005, but not in the later versions.












Yes ...my original question was that I found a source compiled in 2005 and it would not work with the MASMv10....that it exactly it!

dedndave

 :P
ok
this has nothing to do with the masm version
it has to do with the windows.inc file
masm does not come with a windows.inc file   :P
the EQUate should probably be there, but seems to be missing from the most recent one in the masm32 package