Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to read a excel file without using microsoft office in mfc? Pin
Richard MacCutchan28-Jun-13 23:14
mveRichard MacCutchan28-Jun-13 23:14 
GeneralRe: How to read a excel file without using microsoft office in mfc? Pin
Le@rner29-Jun-13 0:23
Le@rner29-Jun-13 0:23 
GeneralRe: How to read a excel file without using microsoft office in mfc? Pin
Richard MacCutchan29-Jun-13 0:56
mveRichard MacCutchan29-Jun-13 0:56 
QuestionC#,How to parse CSV file with RegularExpression Pin
haha_c28-Jun-13 20:02
haha_c28-Jun-13 20:02 
AnswerRe: C#,How to parse CSV file with RegularExpression Pin
CPallini28-Jun-13 22:25
mveCPallini28-Jun-13 22:25 
GeneralRe: C#,How to parse CSV file with RegularExpression Pin
haha_c28-Jun-13 22:46
haha_c28-Jun-13 22:46 
GeneralRe: C#,How to parse CSV file with RegularExpression Pin
CPallini28-Jun-13 22:52
mveCPallini28-Jun-13 22:52 
AnswerRe: C#,How to parse CSV file with RegularExpression Pin
jschell29-Jun-13 11:43
jschell29-Jun-13 11:43 
AnswerRe: C#,How to parse CSV file with RegularExpression Pin
cooljun_61830-Jun-13 17:16
cooljun_61830-Jun-13 17:16 
Questionhow to write UnitTest for a class derived from MFC class like CWinApp? Pin
pk jain28-Jun-13 19:27
pk jain28-Jun-13 19:27 
AnswerRe: how to write UnitTest for a class derived from MFC class like CWinApp? Pin
Stefan_Lang4-Jul-13 2:52
Stefan_Lang4-Jul-13 2:52 
QuestionHow to put checkboxes in any column of ListVIew Control in mfc.? Pin
mbatra3127-Jun-13 20:14
mbatra3127-Jun-13 20:14 
AnswerRe: How to put checkboxes in any column of ListVIew Control in mfc.? Pin
«_Superman_»27-Jun-13 20:48
professional«_Superman_»27-Jun-13 20:48 
AnswerRe: How to put checkboxes in any column of ListVIew Control in mfc.? Pin
_Flaviu27-Jun-13 21:14
_Flaviu27-Jun-13 21:14 
QuestionHow to convert office to pdf with acrobat in VC++? Pin
liuli778627-Jun-13 16:16
liuli778627-Jun-13 16:16 
SuggestionRe: How to convert office to pdf with acrobat in VC++? Pin
Richard MacCutchan27-Jun-13 21:19
mveRichard MacCutchan27-Jun-13 21:19 
QuestionCreateProcess return code 1 however Process does not start Pin
ForNow27-Jun-13 6:03
ForNow27-Jun-13 6:03 
Hi,

I am getting back a 1 from CreateProcess indicting success however the process never takes off

I can cann't find it in TaskManager Either

Here is the code this code used to work I just cleaned up my computer tried re-building the app

C++
strncpy(&herc_command[0],"HERC_CMD.EXE ",13);

         memset(&si,0,sizeof(si));
         si.cb= sizeof(si);



           sa.nLength =  sizeof(sa);
           sa.lpSecurityDescriptor = NULL;
           sa.bInheritHandle = TRUE;     // Hercmd will inherit this event

           hutil_module = GetModuleHandle("HENGINE");


          hercgui_addr = GetProcAddress(hutil_module,"hercgui_proc");

          if (hercgui_addr == NULL)
               errcd = GetLastError();

          strncpy(&herc_parm[0],&hercgui_addr,8);



       return_code = CreateProcess((LPCSTR) &herc_command[0],      // command
                                   (LPCSTR) &herc_parm[0],         // paramter
                                   (LPCSTR) &sa,
                                   NULL,
                                   TRUE,
                                   (DWORD) NULL,
                                   NULL,
                                   NULL,
                                   &si,
                                   &pi);

    if (return_code == 0 )
        errcd = GetLastError();

AnswerRe: CreateProcess return code 1 however Process does not start Pin
Santhosh G_27-Jun-13 6:59
Santhosh G_27-Jun-13 6:59 
GeneralRe: CreateProcess return code 1 however Process does not start Pin
ForNow27-Jun-13 8:15
ForNow27-Jun-13 8:15 
AnswerRe: CreateProcess return code 1 however Process does not start Pin
David Crow27-Jun-13 10:36
David Crow27-Jun-13 10:36 
GeneralRe: CreateProcess return code 1 however Process does not start Pin
ForNow27-Jun-13 10:55
ForNow27-Jun-13 10:55 
GeneralRe: CreateProcess return code 1 however Process does not start Pin
Freak3027-Jun-13 21:43
Freak3027-Jun-13 21:43 
GeneralRe: CreateProcess return code 1 however Process does not start Pin
ForNow28-Jun-13 4:51
ForNow28-Jun-13 4:51 
QuestionRe: CreateProcess return code 1 however Process does not start Pin
David Crow28-Jun-13 5:12
David Crow28-Jun-13 5:12 
AnswerRe: CreateProcess return code 1 however Process does not start Pin
ForNow28-Jun-13 5:21
ForNow28-Jun-13 5:21 

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.