|
hi
i want execue another exe in my application with CreateProcess functin.
but i dont have path of exe.
how i can call createprocess function without set path of exe.
please describe me about first and second parameters of createprocess.
|
|
|
|
|
Is this[^] helpful for you
|
|
|
|
|
WhiteSky wrote: Is this[^] helpful for you
I doubt it. Whether the OP chooses CreateProcess() , ShellExecute() , or some other mechanism, what's missing is the necessary path information. If no path is specified, Windows will help you out a little by searching: the folder in which the application was loaded from, the current folder, the Windows folder, and those folders listed in the PATH environment variable.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I said this link it seems she needs to know things about CreateProcessEx I think she want to knows only parameters maybe.But(maybe she want to run programs with input parameters)
|
|
|
|
|
How do you expect to run a file without knowing the path to it? If it's in the PATH variable, then you're in luck, but otherwise...
|
|
|
|
|
I guess she want to know about CreateProcess
|
|
|
|
|
for example i want use from peocess or thread handle.
-- modified at 3:04 Wednesday 11th October, 2006
|
|
|
|
|
so it seems you need GetModuleFileName
|
|
|
|
|
|
I guess she want to gets procceses and then get path of their and in the end insert this path to <codecreateprocess< code="">
|
|
|
|
|
dear Aqueel thank you very much.
its true.
|
|
|
|
|
Hi everyone,
I had build a graph with the following,
IGraphBuilder *pGraph ;
IMediaControl *pMediaControl ;
IVideoWindow *pVidWin ;
IMediaEventEx *pEvent;
I tried to play many files continuously so i created a list ctrl , its playing fine, BUT the problem i was facing is when one file is played and going to next file i release the above variables, so i am getting a blank screen like a flash.... i dont want that blank screen on the playing screen ... can anyone help me with this ... the movement from one file to other should be without the blank screen
Thanks in advance
With Regards
Raja Bose
|
|
|
|
|
do a google search for GMFBridge written by Geraint Davies. His ClipPlayer example sounds like what you are looking for.
cje
|
|
|
|
|
Thank you very much for replying
hmmm i will search for that and if i have any more queries i will inform.
Once again thanks.....
With regards
Raja Bose
|
|
|
|
|
hi.i write 2 program on 2 different computer,program 1 send data packet(sucj as "S15.00P")very fast(per 10ms).i use winsock for send & receive data.i use OnReceive Message of winsock to read buffer.but this message is very slow,i have data in buffer,but by use OnReceive i can't read data FROM BUFFER.please help me how can i read data from buffer very fast.i want a real time reading buffer.sender send data per 10ms & i want read data from buffer in 10ms in receiver.also i use CAsyncSocket class in visual c++ 6 in a MFC project
tnx
|
|
|
|
|
Try a separate thread dedicated to JUST socket I/O.
Use WSAEventSelect() to have an event object signaled on FD_READ (and maybe FD_CLOSE).
Use this event to wake your I/O thread and recv ALL received bytes (call recv until you get
WSAEWOULDBLOCK error), adding the received bytes to a buffer each call. Loop and wait again on the
event. Let another thread process the received data.
This works very fast even on TCP/IP because you are keeping the receive buffer flushed.
Much better than doing it on the UI thread through Windows messages like you are now.
Mark
|
|
|
|
|
hello,
I have a Table which has no. of columns.
I want to insert values into only 2 columns....
how to achive this..
INSERT INTO table-Name(Column-name1, column-name2) Values(value1,value2)
i used this one..bur shows errror in insert into statement.
Born To Code
|
|
|
|
|
Hi,
The values you supplied must be formatted with valid qualifiers that matches the DATA TYPE of the column where you want to insert it to.
Example if Column-name1 is a date then value1 should be like #value1#
if it is a string value1 should be 'value1'
Hope this help.
Angbo2006
|
|
|
|
|
Is this[^] helpful for you
|
|
|
|
|
rahul.shendurnikar wrote: i used this one..bur shows errror in insert into statement.
What error?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hi,
i am using mfc activex control wizard. I want to know how to split the bounding rectangle of the specified window in to two and to call the already created two dialog boxes on the splitted window.
thanx in advance,
zari
|
|
|
|
|
Hi
In my application i need to run another .exe thru a button click..Please help how i will do this...
Thanx In advance
birajendu
CyberG India
Delhi
India
|
|
|
|
|
See ShellExecute or CreateProcess
|
|
|
|
|
thanx...i think CreateProcesses is the right option for my need.
birajendu
CyberG India
Delhi
India
|
|
|
|
|