Why can't I rescue OLE Exceptions?

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?

On Wed, Apr 30, 2008 at 3:11 PM, Nilez P. [email protected]
wrote:

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.

Can you post a simple example that exhibits this behavior?


Avdi

Home: http://avdi.org
Developer Blog: Avdi Grimm, Code Cleric
Twitter: http://twitter.com/avdi
Journal: http://avdi.livejournal.com

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.

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. :stuck_out_tongue:

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. :slight_smile:

Thanks anyway!