how to use compiler in my application?

This is a discussion on how to use compiler in my application? within the C++ Programming forums, part of the General Programming Boards category; I wanna to use a compiler (etc. masm.exe.or debug.exe) in my program,but how to send parameters,and how to get the ...

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    3

    how to use compiler in my application?

    I wanna to use a compiler (etc. masm.exe.or debug.exe) in my
    program,but how to send parameters,and how to get the debug information?
    I wanna only the debug results,not want to see any complier or debug proccess......

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    These are both examples of command line tools so you would send them parameters the same way you would any other command line tool. I don't know how you are spawning the new application so I won't be too specific. Many of of the functions you use to spawn a new application have a parameter that is a string with the name of the application instead of using "masm.exe" use something like "masm.exe stuff.s"

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    3

    That's my problem...

    How to get complier informs from the debug thread?
    I mean where to get the result?
    Do you know where debug puts its complier informs?
    In stack? Or ...?

  4. #4
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    That is an OS specific question. If you are using windows as your operating system you could use the win32 api to handle this stuff.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  2. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  3. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  4. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 05:42 AM
  5. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 10:28 AM

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