flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
dv4-fa 04 Mar 2013, 12:49
Getmenubarinfo gives me return code 87 invalid parameter. Invoke GetMenuBarInfo,[hwnddlg],0xfffffffd,0,mbi
What am i doing wrong? |
|||
![]() |
|
baldr 04 Mar 2013, 16:26
dv4-fa,
Have you set mbi.cbSize to sizeof MENUBARINFO? |
|||
![]() |
|
dv4-fa 05 Mar 2013, 11:15
Fixed it. The menubarinfo struct has two bool variables which i defined as dwords. The function failed because my struct was four bytes too long.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.