the IDE is really fantastic - I discovered it today (it's very well hidden) - my long time fellow crapEditor flew out of my windows few hours ago.. a big big THANK YOU for the efforts.
Unfortunately, I wasn't able to put the RefreshCrapT4 thingy to work.. I'm an extremely miserable wannabe coder and can't live without recompiling every few lines. Browsing through your sources the cause became clear; my crim doesn't enclose the [Symbol, TF] part in the title bar into square brackets thus can't pass your exam
I've been thinking about two things - firstly, it would be probably better to bash the title bar whatsoever and determine the Empty4 windows by querying for filename (obviously looking for terminal.exe):
Code: Select all
// let's examine a window with handle hWnd (in the enum callback procedure)
DWORD pID;
HANDLE hP;
GetWindowThreadProcessId(hWnd, &pID);
hP = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, pID);
TCHAR CrapT4Path[255];
GetModuleFileNameEx(hP, NULL, CrapT4Path, 255);
PathStripPath(CrapT4Path);
// now, if the examined wnd belongs to Empty4,
// the CrapT4Path contains "terminal.exe")
I'm pretty sure this IDE will grow and beat any alternative (UE, Notepad++) very soon

