Actually it doesn't work for me either on Win2k, haven't tried XP. If I run the new version of kam in the old version of kam (1.03) it gets as far as loading gdi.dll (after kam.ini is created) then says the process (kam 1.05) has terminated. The process remains running in memory and must be terminated manually.
If I run ApiSpy32 (with Kernel32 options selected) on kam 1.05 it shows it hangs here:
Code:
004035DA:CreateEventA(LPDATA:00000000,BOOL:00000001,BOOL:00000000,LPSTR:00000000)
004035DF:CreateEventA = 74 (kam.exe)
004035F3:CreateThread(LPDATA:00000000,DWORD:00000000,LPDATA:00403511,LPDATA:00000000,DWORD:00000000, LPDATA:00000000)
004035F8:CreateThread = 78 (kam.exe)
00403603:WaitForSingleObject(HANDLE:00000074,DWORD:00007530)
00403559:SetEvent(HANDLE:00000074)
0040355E:SetEvent = 1 (kam.exe)
00403608:WaitForSingleObject = 0 (kam.exe)
If I run ApiSpy32 (with User32 options) it indicates it's hanging on a message loop somewhere.
Hopefully the problem can be fixed.
A curious side note.. I don't think I've ever seen this in an application before, but I notice that kam will not open the folder it is contained in. i.e. if you place an executable to be monitored in the same directory as kam.exe, kam will not allow you to even open that directory and gives this error:
---------------------------
KaKeeware Application Monitor 1.03
---------------------------
Unexpected error occured and Kam has to be shut down.
Please contact us immediately to let us know about the problem. Thank you for your cooperation.
I assume this is by design, though I'm not sure the point of it. I often put copies of executables I wish to monitor into the same directory as the monitoring software in order to analyze them. Not necessary, just convenient.
I'm not complaining about this fact, I'm actually more interested in how this is done programatically if it is indeed deliberate. Kam seems to detect I'm trying to open the "kam" directory with only a single mouse click on the folder icon (from a standard Open Dialog box). Not even a double click, just a highlighting of the folder icon. This sort of raises my reversers curiousity! But I'll leave it at that for now
Kayaker