Sign in to follow this  

Web link from exe

This topic is 4204 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've just about finished my first game, and I was wondering how to put a link in my program where if somebody clicks it, my program can call their browser and open up my home page. I've looked for mention of this in three different search engines and can't find anything, so any help would be appreciated. Edit: I'm using C++ without MFC and if possible I'd prefer not to use mfc,

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
ShellExecute(0, "open", "http://www.net.com", NULL, NULL, SW_SHOWNORMAL);

Share this post


Link to post
Share on other sites
[quote] Anonymous Poster ShellExecute(0, "open", "http://www.net.com", NULL, NULL, SW_SHOWNORMAL); [/qoute]
Thanks! Worked perfectly!
Quote:
Ranger50000 Try ShellExecute.

Looks like Anonymous Poster beat you to it!

Share this post


Link to post
Share on other sites

This topic is 4204 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this