Click here to Skip to main content
15,921,989 members
Home / Discussions / Web Development
   

Web Development

 
Generalframes and buttons Pin
Jh325-Feb-03 21:08
Jh325-Feb-03 21:08 
GeneralRe: frames and buttons Pin
DFU2326-Feb-03 9:06
DFU2326-Feb-03 9:06 
GeneralSession Management Pin
mafia14425-Feb-03 17:50
mafia14425-Feb-03 17:50 
GeneralRe: Session Management Pin
eggie56-Mar-03 18:56
eggie56-Mar-03 18:56 
GeneralProblem setting the value in textarea Pin
iluha25-Feb-03 16:52
iluha25-Feb-03 16:52 
GeneralRe: Problem setting the value in textarea Pin
DFU2326-Feb-03 8:57
DFU2326-Feb-03 8:57 
GeneralRe: Problem setting the value in textarea Pin
iluha26-Feb-03 14:36
iluha26-Feb-03 14:36 
Generalthe problem of a ASP component creating process Pin
programmesky25-Feb-03 14:21
programmesky25-Feb-03 14:21 
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: the problem of a ASP component creating process Pin
Philip Patrick27-Feb-03 22:08
professionalPhilip Patrick27-Feb-03 22:08 
GeneralRe: the problem of a ASP component creating process Pin
programmesky28-Feb-03 13:40
programmesky28-Feb-03 13:40 
GeneralRe: the problem of a ASP component creating process Pin
Philip Patrick28-Feb-03 20:45
professionalPhilip Patrick28-Feb-03 20:45 
GeneralRe: the problem of a ASP component creating process Pin
programmesky4-Mar-03 4:00
programmesky4-Mar-03 4:00 
Generalconfiguring IIS - virtual directory / ASP.NET Pin
devvvy23-Feb-03 21:10
devvvy23-Feb-03 21:10 
GeneralRe: configuring IIS - virtual directory / ASP.NET Pin
Paul Watson23-Feb-03 21:32
sitebuilderPaul Watson23-Feb-03 21:32 
GeneralRe: configuring IIS - virtual directory / ASP.NET Pin
devvvy23-Feb-03 21:55
devvvy23-Feb-03 21:55 
GeneralRe: configuring IIS - virtual directory / ASP.NET Pin
eggie56-Mar-03 18:59
eggie56-Mar-03 18:59 
GeneralMaking decent interfaces in web apps Pin
Michael P Butler22-Feb-03 4:39
Michael P Butler22-Feb-03 4:39 
GeneralRe: Making decent interfaces in web apps Pin
Paul Watson23-Feb-03 3:01
sitebuilderPaul Watson23-Feb-03 3:01 
GeneralRe: Making decent interfaces in web apps Pin
Michael P Butler23-Feb-03 7:29
Michael P Butler23-Feb-03 7:29 
GeneralRe: Making decent interfaces in web apps Pin
Paul Watson23-Feb-03 22:21
sitebuilderPaul Watson23-Feb-03 22:21 
GeneralRe: Making decent interfaces in web apps Pin
Michael P Butler23-Feb-03 22:55
Michael P Butler23-Feb-03 22:55 
Generale-com Pin
Sarvesvara (BVKS) Dasa22-Feb-03 2:06
Sarvesvara (BVKS) Dasa22-Feb-03 2:06 
GeneralRe: e-com Pin
Philip Patrick24-Feb-03 22:24
professionalPhilip Patrick24-Feb-03 22:24 
GeneralRe: e-com Pin
Sarvesvara (BVKS) Dasa25-Feb-03 23:20
Sarvesvara (BVKS) Dasa25-Feb-03 23:20 
GeneralRe: e-com Pin
Philip Patrick27-Feb-03 22:09
professionalPhilip Patrick27-Feb-03 22: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.