nidud / asmc

Masm compatible assembler
GNU General Public License v2.0
50 stars 6 forks source link

error A2004: symbol type conflict : PROPSHEETHEADER #12

Closed Greenhorn70 closed 3 months ago

Greenhorn70 commented 3 months ago

Hi nidud,

I get errors with declaring PROPSHEETHEADER and PROPSHEETPAGE.

ShowProperties proc hwndParent:HWND

local hInstance:HINSTANCE
local psh:PROPSHEETHEADER
local psp[3]:PROPSHEETPAGE

1>PeaOptions.asm(485): error A2004: symbol type conflict : PROPSHEETHEADER 1>PeaOptions.asm(486): error A2004: symbol type conflict : PROPSHEETPAGE

Defined in https://github.com/nidud/asmc/blob/master/include/prsht.inc

Kind Regards Greenhorn

nidud commented 3 months ago

Added a new translation from the Win81SDK. There's some strange version-definitions there so psh default to PROPSHEETHEADERA_V2 and psp to PROPSHEETPAGEA_V4.

However, this seems match the current version of PROPSHEETHEADER and PROPSHEETPAGE.

Greenhorn70 commented 3 months ago

Fine, works now.