Article View: comp.os.os2.programmer
Article #2332Send-Message hook killing EPM
From: Fred Christianson
Date: Tue, 06 Oct 1992 21:43
Date: Tue, 06 Oct 1992 21:43
28 lines
1443 bytes
1443 bytes
I have a problem with a Send-Message Hook and EPM. EPM dies with an access violation any time my program has a Send-Message hook set and EPM has the "Ring Enabled" option set. EPM works fine when Rings are not enabled. I have stripped my program down to just installing a Send-Message hook which returns without doing anyting and this still happens. In the full program, both the Send-Message hook and an Input message hook work fine in every case we've tried except for the EPM problem. If I run EPM under IPMD, there are 2 threads on the stack when it dies. The first thread always has ETKE550:2 on the stack and the second thread usually has 8 or more entries on the stack each at ETKE550:2, ETKE550:4, ETKE550:5, or ETKE550:7. ETKE550:4 seems to be the most common (more than half the entries). One time there were only 3 ETKE550:4 entries and the top frame was DOSCALL1:5. This is the only time anything other than ETKE550:? has been on the stack. Any ideas on why this happens or suggestions for debugging/fixing it? (We NEED the send-message hook) Thanks, Fred (fred@oneup.gwinnett.com)
Technical Details
Message-ID:
<FVs9RB1w164w@oneup.Gwinnett.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!emory!gwinnett!oneup!fredShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!emory!gwinnett!oneup!fred From: fred@oneup.Gwinnett.COM (Fred Christianson) Newsgroups: comp.os.os2.programmer Subject: Send-Message hook killing EPM Message-ID: <FVs9RB1w164w@oneup.Gwinnett.COM> Date: 6 Oct 92 21:43:38 GMT Article-I.D.: oneup.FVs9RB1w164w Lines: 28