Jump to content
  • Advertisement
Sign in to follow this  
xycsoscyx

Loading a URL in the default browser

This topic is 4836 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

Is there any way to launch a URL in the users default browser, without usng ShellExec (in VC). ShellExecute says it needs certain things to work on Win95/98, which I don't want to inlcude them if I don't have to. Does ShellExecute actually work on previous versions? (Is MSDN just on crack?) Here's the MSDN description: Windows 95/98/Me: ShellExecute is supported by the Microsoft Layer for Unicode. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems. Does that mean my app needs runs to be able to run it, or that I need to include files when run on those OS's? Hopefully it just means my app needs the new files, though it compiles fine without having to include the unicode layer package (using VC7). Is there another way to run a URL without having to use ShellExecute? I know CreateProcess won't run it directly, I have to still specify an executable, but that means actually detecting the current browser manually, which I want to avoid. Thanks

Share this post


Link to post
Share on other sites
Advertisement
You only need to include the unicode layer for 95/98 if your application calls the unicode version of ShellExecute. If your application uses the ASCII version, it shouldn't need the unicode layer.

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.

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!