Jump to content
  • Advertisement
Sign in to follow this  
Corman

Windows "Open With" Crash Problem

This topic is 3799 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 have associated a custom file type to my custom application but it crashes the application on startup when you double click the associated file type. What is crazy is this doesn't happen when the program is already running or if you pass the file information by the command line. There seems to be some random access violation occurring in a dll that has never given me any problems and that doesn't even have anything to do with the loading of the associated file type. And for a control test I took an older version of my program that doesn't open files in this manner and doesn't even take command line arguments and it crashes in the exact same manor. Anyone out there that can help?

Share this post


Link to post
Share on other sites
Advertisement
Well if it's your application what prevents you from attaching a debugger and see what is actually going wrong?

Share this post


Link to post
Share on other sites
My only suspicion (and a total stab in the dark) is your app having problems when the current working directory is not the same as the application's own directory.

Share this post


Link to post
Share on other sites
Actually ben I believe your stab at the dark might be on mark about the working directory. I will inspect that thought more later tonight when I get back home. I will keep you informed if this is indeed the case.

Share this post


Link to post
Share on other sites
Thanks a lot ben that was exactly the problem. That is what I get for using relative paths everywhere. [grin]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!