Click here to Skip to main content
15,917,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionbitblt(...) fails when we lock and unlock (CTRL+ALT+DEL) the system Pin
Super Hornet11-May-08 23:31
Super Hornet11-May-08 23:31 
QuestionRe: bitblt(...) fails when we lock and unlock (CTRL+ALT+DEL) the system Pin
CPallini11-May-08 23:57
mveCPallini11-May-08 23:57 
AnswerRe: bitblt(...) fails when we lock and unlock (CTRL+ALT+DEL) the system Pin
Super Hornet12-May-08 0:08
Super Hornet12-May-08 0:08 
AnswerRe: bitblt(...) fails when we lock and unlock (CTRL+ALT+DEL) the system Pin
CPallini12-May-08 0:25
mveCPallini12-May-08 0:25 
GeneralRe: bitblt(...) fails when we lock and unlock (CTRL+ALT+DEL) the system Pin
Super Hornet12-May-08 1:11
Super Hornet12-May-08 1:11 
QuestionAsynchronous Process Call _spawnl() --- Plz Help me Pin
Member 453498211-May-08 23:03
Member 453498211-May-08 23:03 
AnswerRe: Asynchronous Process Call _spawnl() --- Plz Help me Pin
Mark Salsbery12-May-08 6:02
Mark Salsbery12-May-08 6:02 
QuestionAsynchronous Process Call--- Plz Help me Pin
Member 453498211-May-08 23:02
Member 453498211-May-08 23:02 
Frown | :( Hi,

When i am executing _spawn API [Asynchronous call] to run child process(sample.exe) through SHELL (MKS) and if sample.exe is problematic (having some problem). Return status should be -1 and then appropriate errno as per MSDN. But my case it returns 3864 and even GetLastError is 0 . I thought it would be PID of the created process but both Parent and Child process PID does not match with it.

Can you help me out whats going on.

My Code :-

int l_Sts = _spawnl(_P_NOWAIT,"Parent.exe","Parent.exe","Sample.exe","cmd data",NULL);

Parent.exe = "sh.exe" [MKS shell]
Sample.exe = normal console EXE

And in case of proper running child EXE, _spawnl returns 3836 again both EXE PID does not match with it.

Can any one suggest what should be solution for this....

Any Other API to run any Process through Parent EXE or shell.


- PAWAN
QuestionHow to embed a MS Word in a window Pin
Yajnesh Narayan Behera11-May-08 22:27
Yajnesh Narayan Behera11-May-08 22:27 
AnswerRe: How to embed a MS Word in a window Pin
Rajesh R Subramanian12-May-08 1:13
professionalRajesh R Subramanian12-May-08 1:13 
GeneralRe: How to embed a MS Word in a window Pin
Yajnesh Narayan Behera12-May-08 1:49
Yajnesh Narayan Behera12-May-08 1:49 
GeneralRe: How to embed a MS Word in a window Pin
Rajesh R Subramanian12-May-08 1:58
professionalRajesh R Subramanian12-May-08 1:58 
GeneralRe: How to embed a MS Word in a window Pin
Yajnesh Narayan Behera14-May-08 0:28
Yajnesh Narayan Behera14-May-08 0:28 
AnswerRe: How to embed a MS Word in a window Pin
Rajesh R Subramanian14-May-08 1:02
professionalRajesh R Subramanian14-May-08 1:02 
QuestionHow can set the Value of Edit Box? Pin
Le@rner11-May-08 22:08
Le@rner11-May-08 22:08 
AnswerRe: How can set the Value of Edit Box? [modified] Pin
Sarath C11-May-08 22:30
Sarath C11-May-08 22:30 
GeneralRe: How can set the Value of Edit Box? Pin
Le@rner11-May-08 23:12
Le@rner11-May-08 23:12 
QuestionRe: How can set the Value of Edit Box? Pin
Rajesh R Subramanian11-May-08 23:14
professionalRajesh R Subramanian11-May-08 23:14 
AnswerRe: How can set the Value of Edit Box? Pin
Le@rner11-May-08 23:47
Le@rner11-May-08 23:47 
QuestionRe: How can set the Value of Edit Box? Pin
Rajesh R Subramanian12-May-08 0:00
professionalRajesh R Subramanian12-May-08 0:00 
AnswerRe: How can set the Value of Edit Box? Pin
Le@rner12-May-08 0:30
Le@rner12-May-08 0:30 
AnswerRe: How can set the Value of Edit Box? Pin
Rajesh R Subramanian12-May-08 1:01
professionalRajesh R Subramanian12-May-08 1:01 
GeneralRe: How can set the Value of Edit Box? Pin
Le@rner12-May-08 1:14
Le@rner12-May-08 1:14 
QuestionRe: How can set the Value of Edit Box? Pin
Rajesh R Subramanian12-May-08 1:16
professionalRajesh R Subramanian12-May-08 1:16 
QuestionRe: How can set the Value of Edit Box? Pin
Rajkumar R12-May-08 19:13
Rajkumar R12-May-08 19:13 

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.