[SDL] how to launch a web page URL from within SDL application ???

Phantom Lord thephantomlord at gmail.com
Fri Sep 1 08:15:17 PDT 2006


Can be some function this-like in SDL1.3?...Maybe would be useful for some
people.
I think, if i need to make a portable program that opens, i dont know,
another program for making self-updates...

IMO it would be nice to have a function like this.

Cya...


2006/8/27, Ilya Olevsky <info at valengames.com>:
>
> > how to launch a web page URL from within SDL application ???
>
> This has nothing to do with SDL, it's an OS specific thing. But assuming
> you're using Windows, this code will open the default browser:
>
> ShellExecute(NULL, "open", "http://www.yoursite.com" ,"", NULL,
> SW_SHOWMAXIMIZED);
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>



-- 
Phantom Lord
Caelis Studios ---> From Gods Hands To Yours
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060901/bc283c55/attachment-0007.htm>


More information about the SDL mailing list