Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / September 2004

Tip: Looking for answers? Try searching our database.

unhandled exception - possibly COM

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
casey chesnut - 20 Sep 2004 00:46 GMT
from reading past threads, this seems to be a common problem,
but i cannot seem to find a fix ...

i've got a WinForms app that i need to be bulletproof.
right now, it is calling a separate assembly to thumbnail videos.
the thumbnails are being generated through a COM interop call to
IExtractImage.
every once in a while, this fails,
and i get an exception that bubbles up and crashes my application.
that top application usually refers to ole32.dll, which i dont refer to in
my solution.

i've got try / catch everywhere.
i've tried catching COMException explicitly, and also generic catch{}.
i dont see any events that i need to catch in.

would it help if i combined everything into 1 assembly?
what else should i do, other than spawn another process?

Thank you,
casey
http://www.brains-N-brawn.com
casey chesnut - 20 Sep 2004 01:42 GMT
Some more info ...

i'm already doing UnhandledException on the AppDomain,
and Application.ThreadException before I Run my form.

neither of those catch the Exception.

all that happens is i get the MessageBox that says:

YourApp.exe has encounted a problem and needs to close.
We are sorry for the inconvenience.

Error Signature:
AppName: YourApp.exe AppVer: 1.0.1723.33554  ModName: ole32.dll
ModVer: 5.1.2600.2180  Offset: 000460d0

it is running on .NET 1.1 with SP1.

Thank you,
casey

> from reading past threads, this seems to be a common problem,
> but i cannot seem to find a fix ...
[quoted text clipped - 18 lines]
> casey
> http://www.brains-N-brawn.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.