1
Programming / Re: ClassiCube porting thread
« on: May 07, 2024, 09:25:58 pm »2) "args->filters" is effectively a PAPSZ pointer, that is, a pointer to an array of pointers where the last pointer in the variable array is a NULL pointer
This is not correct. There is absolutely no indication anywhere in the *OS/2* docs that that 'fileDialog.szFullFile' is anything other than a simple string. If you wanted to filter based on multiple extensions, you do it like this: "*.exe;*.cmd" using a semicolon, not a null, to separate the filters.
Regardless, the most appropriate way to determine whether this is the source of the problem (and I doubt it is) is to make the assignment as simple as possible: strcpy(fileDialog.szFullFile, "*.*");
Quote
see the example code for the Windows implementation
Not helpful.