Wow, Rainy, that's pretty shocking. Both work on WinXP. The only thing I did was add a new file type to the open types string for the open dialog. Maybe I hit a string length limit for Win2000. I'll check it on Monday and fix it as needed. For now, use drag and drop.
EDIT: I also expanded the lpstrFile buffer. It turns out that it triggered an obscure Windows bug. See below.
Last edited by Guest; 9th October 2007 at 14:01.
|