Click here to Skip to main content
15,889,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help,about destroy a CWnd Pin
kcynic21-May-07 3:42
kcynic21-May-07 3:42 
GeneralRe: Help,about destroy a CWnd Pin
Mark Salsbery21-May-07 5:32
Mark Salsbery21-May-07 5:32 
GeneralRe: Help,about destroy a CWnd Pin
kcynic21-May-07 12:45
kcynic21-May-07 12:45 
GeneralRe: Help,about destroy a CWnd Pin
Mark Salsbery21-May-07 12:55
Mark Salsbery21-May-07 12:55 
GeneralRe: Help,about destroy a CWnd Pin
kcynic21-May-07 19:34
kcynic21-May-07 19:34 
QuestionNetwork Management Pin
dharani20-May-07 21:27
dharani20-May-07 21:27 
AnswerRe: Network Management Pin
Hamid_RT20-May-07 22:10
Hamid_RT20-May-07 22:10 
QuestionCreateProcess problem. Pin
david bagaturia20-May-07 21:00
david bagaturia20-May-07 21:00 
Hi all.

I have problem wen I try to start process, wen I write:
<br />
try<br />
{<br />
STARTUPINFO lpStartupInfo;<br />
PROCESS_INFORMATION lpProcessInformation;<br />
<br />
memset(&lpStartupInfo,0,sizeof(STARTUPINFO));<br />
lpStartupInfo.cb = sizeof(lpStartupInfo);<br />
<br />
CreateProcess(<br />
  L"C:\\vaxo\\My.exe",<br />
  NULL,<br />
  NULL,<br />
  NULL,<br />
  FALSE,<br />
  CREATE_NEW_CONSOLE,<br />
  NULL,<br />
  NULL,<br />
  LPSTARTUPINFO lpStartupInfo,<br />
  LPPROCESS_INFORMATION lpProcessInformation<br />
);<br />
}<br />
<br />
catch()<br />
{<br />
// some error handle<br />
}<br />
<br />


in this code my program starts new process, but if I try to set console string I get some debag error:
"Unhandled exception at 0x77e4ae84 in Process.exe: 0xC0000005: Access violation writing location 0x00418312."
Console string is "C:\\vaxo\\My.exe", I try "C:\vaxo\My.exe", but I stile get this error message
AnswerRe: CreateProcess problem. Pin
dharani20-May-07 21:15
dharani20-May-07 21:15 
GeneralRe: CreateProcess problem. Pin
david bagaturia20-May-07 21:20
david bagaturia20-May-07 21:20 
GeneralRe: CreateProcess problem. Pin
dharani20-May-07 21:28
dharani20-May-07 21:28 
GeneralRe: CreateProcess problem. Pin
david bagaturia20-May-07 21:33
david bagaturia20-May-07 21:33 
AnswerRe: CreateProcess problem. Pin
Stephen Hewitt20-May-07 21:51
Stephen Hewitt20-May-07 21:51 
GeneralRe: CreateProcess problem. Pin
david bagaturia20-May-07 22:46
david bagaturia20-May-07 22:46 
QuestionMotion Detection in VC++ Pin
tyagineha20-May-07 20:02
tyagineha20-May-07 20:02 
AnswerRe: Motion Detection in VC++ Pin
bankai12320-May-07 21:59
bankai12320-May-07 21:59 
GeneralRe: Motion Detection in VC++ Pin
tyagineha20-May-07 22:35
tyagineha20-May-07 22:35 
AnswerRe: Motion Detection in VC++ Pin
Hamid_RT22-May-07 19:23
Hamid_RT22-May-07 19:23 
QuestionDisable sounds Pin
rrrado20-May-07 19:53
rrrado20-May-07 19:53 
AnswerRe: Disable sounds Pin
Hamid_RT20-May-07 20:09
Hamid_RT20-May-07 20:09 
GeneralRe: Disable sounds Pin
rrrado20-May-07 20:12
rrrado20-May-07 20:12 
GeneralRe: Disable sounds Pin
David Crow21-May-07 3:36
David Crow21-May-07 3:36 
AnswerRe: Disable sounds Pin
zhang80060520-May-07 20:59
zhang80060520-May-07 20:59 
GeneralRe: Disable sounds Pin
rrrado20-May-07 21:26
rrrado20-May-07 21:26 
GeneralRe: Disable sounds Pin
zhang80060521-May-07 0:10
zhang80060521-May-07 0:10 

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.