Click here to Skip to main content
15,907,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: std::string to char* Pin
Stephen Hewitt1-Jul-08 14:25
Stephen Hewitt1-Jul-08 14:25 
GeneralRe: std::string to char* Pin
Stephen Hewitt1-Jul-08 14:39
Stephen Hewitt1-Jul-08 14:39 
Questiondialog color Pin
projectip1-Jul-08 1:42
projectip1-Jul-08 1:42 
AnswerRe: dialog color Pin
KarstenK1-Jul-08 2:52
mveKarstenK1-Jul-08 2:52 
AnswerRe: dialog color Pin
Hamid_RT1-Jul-08 20:33
Hamid_RT1-Jul-08 20:33 
QuestionResizing Static Text control Pin
VCProgrammer1-Jul-08 1:08
VCProgrammer1-Jul-08 1:08 
AnswerRe: Resizing Static Text control [modified] Pin
leonigah1-Jul-08 1:51
leonigah1-Jul-08 1:51 
GeneralRe: Resizing Static Text control Pin
VCProgrammer1-Jul-08 1:58
VCProgrammer1-Jul-08 1:58 
GeneralRe: Resizing Static Text control Pin
leonigah1-Jul-08 2:12
leonigah1-Jul-08 2:12 
GeneralRe: Resizing Static Text control Pin
VCProgrammer1-Jul-08 2:20
VCProgrammer1-Jul-08 2:20 
GeneralRe: Resizing Static Text control Pin
savita_Bgm2-May-11 20:53
savita_Bgm2-May-11 20:53 
GeneralRe: Resizing Static Text control Pin
hafizmwasim31-May-11 21:42
hafizmwasim31-May-11 21:42 
QuestionAPI for Formatting NTFS volume Pin
Anorexic Tribble1-Jul-08 1:05
Anorexic Tribble1-Jul-08 1:05 
QuestionSystem Command: Pin
T.RATHA KRISHNAN30-Jun-08 22:41
T.RATHA KRISHNAN30-Jun-08 22:41 
Hi!
I've designed an application. In this application, if I click one button, an exe will be run. This works fine on my system. I've called the system command in the startHandler of the button. Here is the handler:

static bool startHandler(const CEGUI::EventArgs& e)
   {
	   int result;
   result = system("D:/Projectname/Release/CharacterAnimation.exe");
   return true;
   }
I will give only the GUI exe and the exe that will be run on clicking the Start Button(CharacterAnimation.exe) to the user. It has to run the CharacterAnimation.exe on clicking the Start Button. It runs properly in my System(Development machine). At other systems, it shows the following error:

"Could not find the file";
What to do to run the exe on all systems?
AnswerRe: System Command: Pin
SandipG 30-Jun-08 22:46
SandipG 30-Jun-08 22:46 
GeneralRe: System Command: Pin
T.RATHA KRISHNAN30-Jun-08 23:01
T.RATHA KRISHNAN30-Jun-08 23:01 
GeneralRe: System Command: Pin
toxcct30-Jun-08 23:08
toxcct30-Jun-08 23:08 
GeneralRe: System Command: Pin
SandipG 30-Jun-08 23:08
SandipG 30-Jun-08 23:08 
AnswerRe: System Command: Pin
toxcct30-Jun-08 22:49
toxcct30-Jun-08 22:49 
JokeRe: System Command: Pin
KarstenK30-Jun-08 23:16
mveKarstenK30-Jun-08 23:16 
AnswerRe: System Command: <b>[REPOST]</b> Pin
_AnsHUMAN_ 30-Jun-08 23:21
_AnsHUMAN_ 30-Jun-08 23:21 
AnswerRe: System Command: Pin
_AnsHUMAN_ 30-Jun-08 23:33
_AnsHUMAN_ 30-Jun-08 23:33 
GeneralRe: System Command: Pin
toxcct1-Jul-08 1:30
toxcct1-Jul-08 1:30 
GeneralRe: System Command: Pin
_AnsHUMAN_ 1-Jul-08 2:16
_AnsHUMAN_ 1-Jul-08 2:16 
GeneralRe: System Command: Pin
toxcct1-Jul-08 2:22
toxcct1-Jul-08 2:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.