Forum rules


Before adding a bug or feature request please check it is not already in the bug tracker or answered in the FAQ.



tip for the s3d devs re opening the browser using winexec

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: tip for the s3d devs re opening the browser using winexec
PostPosted: Sat May 29, 2010 8:39 pm 
Not Signed Up For Stats

Joined: Sat May 29, 2010 8:28 pm
Posts: 1
scorched\src\common\common\DefinesScorched.cpp

lines 54-55

read:

Code:
   std::string buffer = S3D::formatStringBuffer("explorer %s", url.c_str());
   WinExec(buffer.c_str() ,SW_SHOWDEFAULT);


As part of the function S3D::showURL(const std::string &url)

If you replace 'explorer' in the buffer string with 'start' then windows will open the indicated URL in the user-preferred browser rather than always using Internet Exploder.

:)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group