I used polib.exe:
polib /out:c:\comctl32.lib /machine:X86 C:\Windows\System32\comctl32.dll
and then import
Code: Select all
Import "comctl32.lib"
SetWindowSubclass_(hwnd.i, pfnSubclass.i, uIdSubclass.i, dwRefData.i) As "_SetWindowSubclass"
EndImport
Debug SetWindowSubclass_(0, 0, 0, 0)
; OpenWindow(0, 0, 0, 300, 30, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
;
; Repeat
; Event = WaitWindowEvent()
;
; Until Event = #PB_Event_CloseWindow
This is on W732 on W764 works perfect and the function does its job(undecorating and using machine:X64)
PB5.62 - 5.70
Any hints? is this the correct way to do this?