reding errors from the compiler

This is a discussion on reding errors from the compiler within the C++ Programming forums, part of the General Programming Boards category; hi how do i can read the error messages from the compiler in my program? my example Code: void TMDIFileApp::CmProjCompile(){ ...

  1. #1
    Registered User
    Join Date
    Oct 2009
    Location
    Portugal
    Posts
    25

    reding errors from the compiler

    hi

    how do i can read the error messages from the compiler in my program?

    my example
    Code:
    void TMDIFileApp::CmProjCompile(){
    		HINSTANCE h=::ShellExecute ((HWND)GetMainWindow(), 0, "bcc32.exe",
                                                                          "c:\bc45\bin\bcc32", BCCcmdLine, 0);
    		if((long)h<=32)MessageBox(0,"unable to run bcc32.exe","Error",MB_OK);
    		
    }
    Thank you for your attention

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,271
    What do you mean?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 10:13 AM
  2. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 11:50 AM
  3. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 12:07 PM
  4. bloodshed compiler errors
    By nerore in forum C++ Programming
    Replies: 5
    Last Post: 04-17-2004, 03:37 PM
  5. Compiler errors
    By BellosX in forum C Programming
    Replies: 2
    Last Post: 09-21-2001, 04:24 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21