exec??
-
-
sorry ?? :mad: what's the matter man ? you feel knowing the point, but you ask at the same time too many low level questions on the forum that i doubt you know what you assert... using
WinExec()
is deprecated. useShellExecute()
instead! that's all.
TOXCCT >>> GEII power
[toxcct][VisualCalc] -
toxctt is right. WinExec is used for compatibility with 16 bit windows so ShellExecute is to be used instead. Ritu Kwatra
-
toxctt is right. WinExec is used for compatibility with 16 bit windows so ShellExecute is to be used instead. Ritu Kwatra
all right, I understand. I tried with WinExec and there was no problem... with ShellExecute im doing something wrong: ShellExecute(0,"open",exefile,params,0,SW_FORCEMINIMIZE); Do i have to put a handle different from NULL? I have no window handle in the function which muss call "ShellExecute". Whats wrong? Thanks, Elale.
-
sorry ?? :mad: what's the matter man ? you feel knowing the point, but you ask at the same time too many low level questions on the forum that i doubt you know what you assert... using
WinExec()
is deprecated. useShellExecute()
instead! that's all.
TOXCCT >>> GEII power
[toxcct][VisualCalc]toxcct wrote: using WinExec() is deprecated Hain Tox, Man don't get angry, may be Deprecated but still you can use it!, Actually it internally make call to ShellExecute!, so it will work fine on all Available Plateform including Window XP
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
toxctt is right. WinExec is used for compatibility with 16 bit windows so ShellExecute is to be used instead. Ritu Kwatra
-
That is not called for, you should be ashamed after the help others have given you here. Elaine :rose: The tigress is here :-D
-
Hi, Jungs, I´m trying to execute an exe-file from my own programm. I tried to use th _exec-family functions, but it didn't work. The executable is a console programm, so i need to be able to pass some parameters, too. Thanks. Elale
I find when using WinExec to open an file in a folder whose name is seperated by "space" such as "c:\a b\file", it won't work well. The error message is Can't find c:\a. So use ShellExecute.
-
all right, I understand. I tried with WinExec and there was no problem... with ShellExecute im doing something wrong: ShellExecute(0,"open",exefile,params,0,SW_FORCEMINIMIZE); Do i have to put a handle different from NULL? I have no window handle in the function which muss call "ShellExecute". Whats wrong? Thanks, Elale.
Hey Elale, What is going wrong ? Try using: ShellExecute(NULL,"open",exefile,params,NULL,SW_HIDE); It is working fine on my PC. Ritu Kwatra
-
That is not called for, you should be ashamed after the help others have given you here. Elaine :rose: The tigress is here :-D
Look Trollslayer, I should clear things once for all eventhough I know that we should not talk about this in here and I hope that this message is read by everyone who replyed to this thread. Some people started to have ideas about my belonging to this site or and I quote "you feel knowing the point, but you ask at the same time too many low level questions on the forum".(i prefer no to quote the whole sentence) I didn't want to reply to this but all I can say is that noone here (or anywhere else) is eligible to classify my question or anyone elses. I know that this reply came after my reply and I quote "WinExec("C:\\Toxxct\\dolt.exe",SW_ALWAYS);" said Halawlaw. The reason I wrote that is to reply to this message. Honestly, this word was insulting. Do you agree that anyone is allowed to give his opinion? All I wanted to do is to be part of this chain and help others as and i quote Trollslayer wrote: you should be ashamed after the help others have given you here and this is what I get. I don't care about my membership period (1 month and 1 day). You don't mesure someone with such irrelevant conclusions. I may be expert in c++ or zero in c++ as far as anyone is concerned. Remember the saying: "There is no dumb question, only dumb answers". This message is not necessarly to make things better between us(= the one who participated in this). Everyone should have his own conclusions and should act accordingly. In fact no matter what I say now, let us say "things will never be the same again". I don't expect that anyway. As a reply to u Trollslayer, yes I had help from many here at the Forum and i never underestimated this. If u go back to mainly all my messages you will find a gratefulness reply to the persons who helped me. In conclusion, I know I will always get the help I need here and I shall help others when I can. I hope there is no hard feeling or heart feeling. ciao /\|-||\/|/\|)