BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to trap exception raised in COM Activex?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX)
View previous topic :: View next topic  
Author Message
Iddir
Guest





PostPosted: Fri Jan 21, 2005 3:57 pm    Post subject: How to trap exception raised in COM Activex? Reply with quote



There is a DLL "myDll.dll" which uses an activex control which is
implemented in "myComActivex.dll".
"MyDll" is implemented with BCB 6.
The Activex is third-party and implemented with Visual C++ 7.

We have an application which loads "myDll" and there is an
Application.OnException that traps all
unhandled exceptions.

But if an exception is raised inside "myComActivex", the handler
Application.OnException didn't trap it
and we have a message like:
Access violation at address xxx in module "myComActivex.dll".
Write of address xxx.

Is there a way to trap this kind of exception? we don't want a message
to be displayed.

Any help is welcome.
thanks in advance.

Iddir.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (ActiveX) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.