SHFileOperation and Vista64
-
Hello! I've developed an MFC application with VC++6.0. It still works for Vista32, but when I try to move a file to the recycle bin using SHFileOperation on Vista64 then I get the error code 120(ERROR_CALL_NOT_IMPLEMENTED). I know for Vista I should use IFileOperation, but I'm still using VC++6.0. Is there any way to move files to the recycle bin on Vista64 using VC++6.0? Kind regards Marcus
-
Hello! I've developed an MFC application with VC++6.0. It still works for Vista32, but when I try to move a file to the recycle bin using SHFileOperation on Vista64 then I get the error code 120(ERROR_CALL_NOT_IMPLEMENTED). I know for Vista I should use IFileOperation, but I'm still using VC++6.0. Is there any way to move files to the recycle bin on Vista64 using VC++6.0? Kind regards Marcus
Download the latest Windows SDK from here - http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&displaylang=en[^] Add a reference to the include and lib folders searched for VC6 to the installed SDK. Now you should be able to use IFileOperation.
«_Superman_» I love work. It gives me something to do between weekends.
-
Download the latest Windows SDK from here - http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&displaylang=en[^] Add a reference to the include and lib folders searched for VC6 to the installed SDK. Now you should be able to use IFileOperation.
«_Superman_» I love work. It gives me something to do between weekends.
Wow! This is unawaited :) A long time ago somebody told me that the PSDKs from 2002 and later don't apply to VC6 any more. Therefore I'm still using the Oct. 2001 version. Does the latest SDK really compile for VC6? Thank you very much for your help! Kind regards Marcus
-
Wow! This is unawaited :) A long time ago somebody told me that the PSDKs from 2002 and later don't apply to VC6 any more. Therefore I'm still using the Oct. 2001 version. Does the latest SDK really compile for VC6? Thank you very much for your help! Kind regards Marcus
I really don't know. You should try it and let me know. ;P
«_Superman_» I love work. It gives me something to do between weekends.
-
I really don't know. You should try it and let me know. ;P
«_Superman_» I love work. It gives me something to do between weekends.
-
Then I fear that it won't work. I'm just reading the release notes and they state that the current SDK only applies for VS2005 and VS2008. Anyway, thanks for the hint. Kind regards Marcus
Sorry about that. Didn't see that myself.
«_Superman_» I love work. It gives me something to do between weekends.
-
Sorry about that. Didn't see that myself.
«_Superman_» I love work. It gives me something to do between weekends.
-
Wow! This is unawaited :) A long time ago somebody told me that the PSDKs from 2002 and later don't apply to VC6 any more. Therefore I'm still using the Oct. 2001 version. Does the latest SDK really compile for VC6? Thank you very much for your help! Kind regards Marcus
khb wrote:
Therefore I'm still using the Oct. 2001 version. Does the latest SDK really compile for VC6?
No, I do not recommend trying to use the latest Microsoft SDk with VC6, there are several incompatibilities. The Windows Server 2003 PSDK was the last SDK which was guaranteed to be compatiable with VC6. You can download it here: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm[^] Make sure that you also have Microsoft Service Pack 6 for Visual Studio 6.0.[^] installed. Best Wishes, -David Delaune
-
khb wrote:
Therefore I'm still using the Oct. 2001 version. Does the latest SDK really compile for VC6?
No, I do not recommend trying to use the latest Microsoft SDk with VC6, there are several incompatibilities. The Windows Server 2003 PSDK was the last SDK which was guaranteed to be compatiable with VC6. You can download it here: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm[^] Make sure that you also have Microsoft Service Pack 6 for Visual Studio 6.0.[^] installed. Best Wishes, -David Delaune