471,318 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Sporadic errors when calling DLLs

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, or maybe not. It's impossible to know.

Any help / hints would be appreciated!
Helge

Jul 21 '05 #1
0 990

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Bob Murdoch | last post: by
8 posts views Thread by Don Miller | last post: by
3 posts views Thread by fred bliss | last post: by
3 posts views Thread by POL8985 | last post: by
3 posts views Thread by sameer | last post: by
reply views Thread by Helge | last post: by
3 posts views Thread by Daniel Rindt | last post: by
reply views Thread by rosydwin | 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.