[so] GetExitCodeProcess horror show

Cristi B cristib84 at yahoo.com
Mon Nov 6 18:59:52 EET 2006


    DWORD lpExitCode;
    GetExitCodeProcess(pi.hProcess, &lpExitCode);
    if (lpExitCode == EXIT_SUCCESS) cout<<"a terminat cu succes!"<<endl;
    else cout<<"nu a terminat cu success!"<<endl;

Primesc numai "nu a terminat cu succes", oricum valorile lui lpExitCode sunt mari, gen: 3600, 1244200 etc.
Nu inteleg care este problema.

 
---------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/so/attachments/20061106/132ecf5f/attachment.htm


More information about the so mailing list