Click here to Skip to main content
16,011,120 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralThe resizing of the ActiveX control Pin
Foxray10-Sep-03 23:15
Foxray10-Sep-03 23:15 
QuestionCAxWindow flicker in a DHTML control? Pin
rennard10-Sep-03 4:43
rennard10-Sep-03 4:43 
AnswerRe: CAxWindow flicker in a DHTML control? Pin
Neville Franks15-Sep-03 0:08
Neville Franks15-Sep-03 0:08 
AnswerRe: CAxWindow flicker in a DHTML control? Pin
rbeckett19-Nov-03 21:20
rbeckett19-Nov-03 21:20 
GeneralATL Com Register problem! Pin
zhangyifei9-Sep-03 16:27
zhangyifei9-Sep-03 16:27 
GeneralRe: ATL Com Register problem! Pin
Michael Dunn10-Sep-03 17:07
sitebuilderMichael Dunn10-Sep-03 17:07 
GeneralUsing CWorkerThread to wait on process handles Pin
LittleDevilz9-Sep-03 14:17
LittleDevilz9-Sep-03 14:17 
GeneralRe: Using CWorkerThread to wait on process handles Pin
Braulio Dez9-Sep-03 23:46
Braulio Dez9-Sep-03 23:46 
Hi,

I did that using MFC, just create a Worker thread and the process and waitforsingle/multiple objects, I can try to find the source code Smile | :) , here you have one sample that I got from the net ( I remember I did something similar):

<br />
void main( VOID )<br />
{<br />
   STARTUPINFO si;<br />
   PROCESS_INFORMATION pi;<br />
<br />
   ZeroMemory( &si, sizeof(si) );<br />
   si.cb = sizeof(si);<br />
   ZeroMemory( &pi, sizeof(pi) );<br />
<br />
   // Start the child process. <br />
    if( !CreateProcess( NULL, // No module name (use command line). <br />
        "MyChildProcess", // Command line. <br />
        NULL,             // Process handle not inheritable. <br />
        NULL,             // Thread handle not inheritable. <br />
        FALSE,            // Set handle inheritance to FALSE. <br />
        0,                // No creation flags. <br />
        NULL,             // Use parent's environment block. <br />
        NULL,             // Use parent's starting directory. <br />
        &si,              // Pointer to STARTUPINFO structure.<br />
       &pi )             // Pointer to PROCESS_INFORMATION structure.<br />
   ) <br />
    {<br />
       ErrorExit( "CreateProcess failed." );<br />
   }<br />
<br />
   // Wait until child process exits.<br />
   WaitForSingleObject( pi.hProcess, INFINITE );<br />
<br />
   // Close process and thread handles. <br />
    CloseHandle( pi.hProcess );<br />
   CloseHandle( pi.hThread );<br />
}<br />



HTH
Braulio
GeneralStack messed up upon function returned Pin
DionChen8-Sep-03 8:04
DionChen8-Sep-03 8:04 
GeneralRe: Stack messed up upon function returned Pin
Joaquín M López Muñoz8-Sep-03 9:17
Joaquín M López Muñoz8-Sep-03 9:17 
GeneralRe: Stack messed up upon function returned Pin
DionChen8-Sep-03 9:49
DionChen8-Sep-03 9:49 
GeneralWTL conflict with Managed C++ Pin
xqxq8-Sep-03 3:12
xqxq8-Sep-03 3:12 
GeneralRe: WTL conflict with Managed C++ Pin
xqxq9-Sep-03 2:10
xqxq9-Sep-03 2:10 
GeneralActiveX control can not be used in other develop tools Pin
Foxray7-Sep-03 22:25
Foxray7-Sep-03 22:25 
GeneralRe: ActiveX control can not be used in other develop tools Pin
Stefan Pedersen8-Sep-03 1:52
Stefan Pedersen8-Sep-03 1:52 
GeneralRe: ActiveX control can not be used in other develop tools Pin
Foxray8-Sep-03 20:33
Foxray8-Sep-03 20:33 
GeneralThe problem with classCDateTimePickerCtrl Pin
Foxray7-Sep-03 14:42
Foxray7-Sep-03 14:42 
GeneralRe: The problem with classCDateTimePickerCtrl Pin
Michael Dunn7-Sep-03 19:23
sitebuilderMichael Dunn7-Sep-03 19:23 
GeneralRe: The problem with classCDateTimePickerCtrl Pin
Foxray7-Sep-03 20:49
Foxray7-Sep-03 20:49 
GeneralRe: The problem with classCDateTimePickerCtrl Pin
Braulio Dez8-Sep-03 21:42
Braulio Dez8-Sep-03 21:42 
GeneralRe: The problem with classCDateTimePickerCtrl Pin
Foxray10-Sep-03 23:17
Foxray10-Sep-03 23:17 
GeneralPlease Help: ATL Embedded and Shell Extension Question. Pin
LittleCoder5-Sep-03 12:17
LittleCoder5-Sep-03 12:17 
GeneralLinker error using MFC and STL Pin
Jambolo3-Sep-03 18:53
Jambolo3-Sep-03 18:53 
GeneralRe: Linker error using MFC and STL Pin
Steve S3-Sep-03 21:45
Steve S3-Sep-03 21:45 
GeneralRe: Linker error using MFC and STL Pin
Jambolo4-Sep-03 1:09
Jambolo4-Sep-03 1:09 

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.