Click here to Skip to main content
15,914,488 members
Home / Discussions / COM
   

COM

 
GeneralHGLOBAL -> SAFEARRAY Conversion Pin
Jonathan de Halleux26-Feb-03 22:26
Jonathan de Halleux26-Feb-03 22:26 
GeneralRe: HGLOBAL -> SAFEARRAY Conversion Pin
AlexO27-Feb-03 5:57
AlexO27-Feb-03 5:57 
QuestionHow to get selected element ?(MSHTML) Pin
jajamal26-Feb-03 21:56
jajamal26-Feb-03 21:56 
AnswerRe: How to get selected element ?(MSHTML) Pin
Neville Franks27-Feb-03 10:25
Neville Franks27-Feb-03 10:25 
GeneralRe: How to get selected element ?(MSHTML) Pin
jajamal27-Feb-03 17:37
jajamal27-Feb-03 17:37 
GeneralRe: How to get selected element ?(MSHTML) Pin
Stephane Rodriguez.28-Feb-03 0:54
Stephane Rodriguez.28-Feb-03 0:54 
GeneralRe: How to get selected element ?(MSHTML) Pin
jajamal28-Feb-03 3:39
jajamal28-Feb-03 3:39 
Generala problem of a ASP component creating process Pin
programmesky25-Feb-03 14:28
programmesky25-Feb-03 14:28 
I developed a ASP component which can create process,I want it run a program which will product some files,but the problem is the ASP component created process and didn't product files.

the code is follow:
STDMETHODIMP CWebExam::CompileFile()
{
AFX_MANAGE_STATE(AfxGetStaticModuleState())

// TODO:
STARTUPINFO si;
PROCESS_INFORMATION pi;

ZeroMemory( &si, sizeof(si) );
si.cb = sizeof(si);
ZeroMemory( &pi, sizeof(pi) );

// Start the child process.
if( !CreateProcess( NULL, // No module name (use command line).
"e:\\web2\\exam\\cl.exe /Fee:\\web2\\exam\\ /Foe:\\web2\\exam\\ e:\\web2\\exam\\test2.cpp", // Command line.
NULL, // Process handle not inheritable.
NULL, // Thread handle not inheritable.
FALSE, // Set handle inheritance to FALSE.
0, // No creation flags.
NULL, // Use parent's environment block.
"e:\\web2\\exam\\", // Use self starting directory.
&si, // Pointer to STARTUPINFO structure.
&pi ) // Pointer to PROCESS_INFORMATION structure.
)
{
error=1;
//MessageBox(NULL,"create process wrong",NULL,MB_OK);
}
else
{
error=0;
}
// Wait until child process exits.
WaitForSingleObject( pi.hProcess, INFINITE );

// Close process and thread handles.
CloseHandle( pi.hProcess );
CloseHandle( pi.hThread );
return S_OK;
}
GeneralRe: a problem of a ASP component creating process Pin
geo_m26-Feb-03 0:13
geo_m26-Feb-03 0:13 
GeneralRe: a problem of a ASP component creating process Pin
programmesky26-Feb-03 13:33
programmesky26-Feb-03 13:33 
GeneralWebBrowser Printing Pin
MoMad24-Feb-03 9:06
MoMad24-Feb-03 9:06 
GeneralRe: WebBrowser Printing Pin
MoMad24-Feb-03 12:11
MoMad24-Feb-03 12:11 
GeneralRe: WebBrowser Printing Pin
Brian Shifrin4-Mar-03 10:30
Brian Shifrin4-Mar-03 10:30 
GeneralRe: WebBrowser Printing Pin
MoMad5-Mar-03 8:36
MoMad5-Mar-03 8:36 
GeneralPointer identities Pin
Jörgen Sigvardsson24-Feb-03 4:58
Jörgen Sigvardsson24-Feb-03 4:58 
GeneralRe: Pointer identities Pin
geo_m25-Feb-03 23:17
geo_m25-Feb-03 23:17 
GeneralUsing the vTable of an ActiveX DLL with Known Interface and Unknown GUID Pin
RichB21-Feb-03 1:45
RichB21-Feb-03 1:45 
GeneralTracing DLL CreateObject calls Pin
baby.chai20-Feb-03 5:03
baby.chai20-Feb-03 5:03 
GeneralDCOM over COM Pin
Adrian Bacaianu20-Feb-03 4:46
Adrian Bacaianu20-Feb-03 4:46 
GeneralRe: DCOM over COM Pin
13-Mar-03 3:44
suss13-Mar-03 3:44 
GeneralRe: DCOM over COM Pin
Adrian Bacaianu13-Mar-03 3:53
Adrian Bacaianu13-Mar-03 3:53 
GeneralInterface - COM compatible Pin
haranath19-Feb-03 21:00
haranath19-Feb-03 21:00 
QuestionOLECHAR* in c#? Pin
kamosoft519-Feb-03 1:28
kamosoft519-Feb-03 1:28 
AnswerRe: OLECHAR* in c#? Pin
kamosoft519-Feb-03 4:04
kamosoft519-Feb-03 4:04 
GeneralRe: OLECHAR* in c#? Pin
firat kocak20-Feb-03 5:55
firat kocak20-Feb-03 5:55 

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.