[Dev-C++] Getting Console Program's Handle
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jarren L. <vb...@gm...> - 2006-02-01 05:35:55
|
Ok, I'm trying to write a basic IDE (inspired by Dev C++, of course) for Z8= 0 ASM that I can use to write TI-Graphing Calculator programs. I'm using TASM as a compiler, and I need to get the handle of the .exe file, so that I can report the compiler's output errors through my IDE. i tried using MSDN, but I can't figure out how to get the executable's handle. I tried using CreateProcess() and LoadModule(), but, though they have the syntax documented, I don't really know what I need to do to use them right. Can someone write me up a short sample on how to get an executable file's handle? I'd really appreciate it! This is what I want to do: 1.) Take inputted file and pass it to tasm.exe & compile it 2.) IF there are any compilation errors, I want to do the same kind of thin= g that Dev C++ does, and report the errors in a table or edit box of some sort. Cheers! -- Jarren L. |