Access violation in RPCRT4.DLL

delphi package - automated exception handling
Post Reply
BytePlayer
Posts: 2
Joined: Fri Feb 24, 2017 8:34 am

Access violation in RPCRT4.DLL

Post by BytePlayer »

I am using MadExcept in a program that is generating an SQL Error, but several strange things happen:

1) There is an access violation as it is reporting the error and the access violation seems to caused by MadExcept trying to send the error (as shown in the image below)
2) I do not see any call stack and the MadExcept Dialog is completely frozen until I step through to the next line of the program.
Untitled-1.jpg
Untitled-1.jpg (112.28 KiB) Viewed 3657 times
Help?
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Access violation in RPCRT4.DLL

Post by madshi »

The crash occurs inside of "mozMapi32_InUse.dll", which seems to be Mozilla's MAPI handler? I've now added a try..except block around my call to the "MAPISendMail" API. But it seems Mozilla is really at fault here.
Post Reply