Why can't I rescue OLE Exceptions?

N

Nilez Parker

I've had this problem consistently over the past year and just now I
actually DO need to find the fix if it is AT ALL possible.

WIN32OLE raises an Exception when there are simple problems in OLE
operations. I put in a logical rescue, and what's odd, the rescue code
RUNS, but the program still immediately exits no matter what I do. No
example code necessary, try the simplest case and it should act up as
soon as you want it to.

Is there ANY way to catch / rescue these exceptions? Why does the rescue
code run but the code is not actually rescued?
 
N

Nilez Parker

I've had this problem consistently over the past year and just now I
Can you post a simple example that exhibits this behavior?

Ok, sorry, I figured out why I was getting the odd behavior... first of
all the error was originating in a different place than I expected. :p

It does seem that I've had the aforementioned problem in the past, but
I'm no longer running into trouble in this project, so I guess I'm
RESOLVED. :)

Thanks anyway!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top