This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: DeleteFile in XP x64 platform
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 09, 2008
07:28 AM
DeleteFile in XP x64 platform
I am trying to delete a .dll file in the system directory (c:\windows\system32) using the DeleteFile function which returns 0x80070004 (ISERR_FILE_NOT_FOUND). Needless to say that the file is still there.
I tried FindFile function which did not find it.
I also wrote a C++ program that deletes the file, the program worked fine.
I would appreciate any help concerning this problem
I tried FindFile function which did not find it.
I also wrote a C++ program that deletes the file, the program worked fine.
I would appreciate any help concerning this problem
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2008
09:01 AM
If your C++ program was compiled as a 64-bit executable, the problem is likely the filesystem redirection of 32-bit apps to c:\windows\syswow64. You can use the Disable() and Enable() functions to temporarily prevent this redirection.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2008
09:29 AM
Thank you very much !!!
It seems to be working!!
It seems to be working!!
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)