I have a program that I made that when it runs on a system with Win98 the open file and save file dialog boxes won't open. I remember a version of GoldWave that had the same issue under Win98. Even though 98 was no longer officially supported another update was soon released that fixed that issue.
Does anyone know what caused the issue and how to fix it?
Non GoldWave Win98 / XP programming question
-
- Site Admin
- Posts: 4372
- Joined: Wed Mar 10, 2004 6:43 pm
- Location: St. John's, NL
- Contact:
Re: Non GoldWave Win98 / XP programming question
For GoldWave the problem was with the size assigned to the lStructSize field of the OPENFILENAME structure. Windows 98 does not support the extra fields (like FlagsEx), so the size must not include those fields. Setting lStructSize to OPENFILENAME_SIZE_VERSION_400 would fix the problem.
Chris
Chris