471,356 Members | 1,657 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

COMExceptions now and then

I have a vb.net app that calls an "old" DLL that does some math (map
coordinate transformations), declared with an old fasioned declare statement
in my code.

Sometimes, but very rarely, the call fails with a COMException.
On the last dataset it failed 33 out of a total 4011085709 (4 billion)
calls.
My code catches the exception and tries one more time. Then it usually
works.

There is no information in the exception object that can tell me more about
what's wrong, as far as I can see.
When the exception occurs, and I run the code again with exactly the same
data input, it may go just fine.

Any help / hints would be appreciated!
Helge
Jul 21 '05 #1
0 1019

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by avital | last post: by
19 posts views Thread by GMKS | last post: by
reply views Thread by Helge | last post: by
14 posts views Thread by lawjake | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.