n00palice wrote: > HI, > > I have got stuck while doing system wide hooking. my application is > simple chat log managment of all messengers running on windows. does > any buddy have idea how to debug hook based application? I am using > WH_GETMESSAGE hook. I run app It hooks processes but when new process > add (means new application starts) it crash application. I need your > help urgently. Thanks in advance
Well, you should have the option of hooking into the process with your debugger at the time of the crash - at least you'll get a stack trace. Another option is to start the process with the debugger and then you can step through your hook code by setting breakpoints in various spots. Another option is to use a log file and naming it with the process ID. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* VerifyMyPC 2.0 Change tracking and management tool. Reduce tech. support times from 2 hours to 5 minutes. Free for personal use, $10 otherwise. http://www.CubicleSoft.com/VerifyMyPC/
