GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: Add Line Numbers


A Paste by Anonymous
                    RECT rect;
                    GetWindowRect(hWnd,&rect);
                    char top[2], left[2];
                    itoa(rect.top,top,10);
                    itoa(rect.left,left,10);
                    
                    info = "C:\\Program Files\\Microsoft Visual Studio\\MyProjects\\test\\textra.exe";
                    info += " /capture ";
                    info += left;
                    info += " ";
                    info += top;
                    info += " 400 50 /ascii abc.txt\n";

                    char tempCMD[2];

                    info.copy(tempCMD,info.size());
                    MessageBox(0,tempCMD,"a",0);
                    CreateProcess(NULL, tempCMD, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
                    break;
                    }