Non GoldWave Win98 / XP programming question

Discussions for GoldWave plug-in development
Post Reply
Skrewpa
Posts: 21
Joined: Thu Jul 21, 2005 2:10 am

Non GoldWave Win98 / XP programming question

Post by Skrewpa »

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?
GoldWave Inc.
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

Post by GoldWave Inc. »

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
Skrewpa
Posts: 21
Joined: Thu Jul 21, 2005 2:10 am

Post by Skrewpa »

I'll try that. Thank you very much! :D
Post Reply