flat assembler
Message board for the users of flat assembler.
Index
> Windows > Openfilename problem |
| Author |
|
|
macomics 27 Apr 2026, 16:52
If you are using the macro struct, you do not need to use curly braces, but rather close the structure using the macro ends. If you want to leave curly braces, then use the struc keyword.
ADD: To use the struct/ends macros, you need to include the INCLUDE/MACRO/STRUCT.INC file. |
|||
|
|
Core i7 27 Apr 2026, 16:59
Your structure is incorrect. Look in the include comdlg64.inc:
Code: struct OPENFILENAME lStructSize dd ?,? hwndOwner dq ? hInstance dq ? lpstrFilter dq ? lpstrCustomFilter dq ? nMaxCustFilter dd ? ;<------ nFilterIndex dd ? ;<------ lpstrFile dq ? nMaxFile dd ?,? lpstrFileTitle dq ? nMaxFileTitle dd ?,? lpstrInitialDir dq ? lpstrTitle dq ? Flags dd ? ;<------ nFileOffset dw ? nFileExtension dw ? lpstrDefExt dq ? lCustData dd ?,? lpfnHook dq ? lpTemplateName dq ? ends |
|||
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.