Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Delete a file with win32 sdk

This topic is 5491 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I there a way to delete a file using C++ and win32 sdk. I am want to be able to allow a user to add pictures to screensaver which I will copy into my screensavers directory and also allow the user to remove pictures from the screensaver, and when they do that I would like to delete the files that they have choosen from my screensavers directory in my case c:\program files\picturescrnsaver\pics

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
Check the Win32 platform sdk on msdn...

The DeleteFile function deletes an existing file.

BOOL DeleteFile(
LPCTSTR lpFileName

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!