IEShowSaveFileDialog not returning out DestinationFilePath

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I am trying to use IEShowSaveFileDialog Vista API .
But the DestinationFilePath out is comming NULL .
I have used

TCHAR pszDest[MAX_PATH] = {_T("\0")} ; // OUT: path to saved file
....
HRESULT hr = pIEShowSaveFileDialog(
hwnd, // Application window
pszName, // Initial filename and path
NULL, // Use path from filename
pszExt, // Extension filter list
pszDefExt, // Default extension
1,
OFN_ENABLESIZING |
OFN_NOREADONLYRETURN | OFN_OVERWRITEPROMPT,
(LPWSTR*)&pszDest, // Selected destination
&hState); // Used to complete the operation

now pszDest is NULL although the hState is good and file is getting copied
to selected folder .
Please help
 
The best thing you can do is put your XP CD into your PC, wipe your PC
clean, install XP, the put your Windows Vista upgrade DVD into the drive and
do an upgrade. This will solve all your programming issues!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top