vietninh
December 14th, 2004, 12:46 AM
Windows XP.
My Win32API program uses open file name dialog by calling the function GetOpenFileName to help users choose the file they want to open. After the dialog closes, Task manager shows my process is using about 9mbs. If my program is modified not to use OpenFileName dialog, it's just 2mbs. :(
The application Mobipocket doesn't use OpenFileName dialog (I opened its resource) but that dialog will still appear if I click File->Open, and its appearance is the same to Windows's. How can they do that?
Sorry for my bad English.
My Win32API program uses open file name dialog by calling the function GetOpenFileName to help users choose the file they want to open. After the dialog closes, Task manager shows my process is using about 9mbs. If my program is modified not to use OpenFileName dialog, it's just 2mbs. :(
The application Mobipocket doesn't use OpenFileName dialog (I opened its resource) but that dialog will still appear if I click File->Open, and its appearance is the same to Windows's. How can they do that?
Sorry for my bad English.