logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
snoopy  
#1 Posted : Sunday, July 12, 2009 9:52:47 AM(UTC)
snoopy

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 4/25/2006(UTC)
Posts: 10

I am getting this error reported back from a DLL that I have written but only if the DLL is run outside the Borland IDE.

What are all of the possible causes of this error ??

regards
david

wabbit  
#2 Posted : Sunday, July 12, 2009 8:33:15 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
There are many conditions which will generate these errors.

Two of the usual suspects are trying to do an array comparison with values which have not been properly initialised and hence you're trying to compare a float to a garbage value; or, depending on the version of the compiler, these errors can be thrown when performing mathematical operations on unlike datatypes when one of them is a float.

Use a try-catch block to isolate the error, or run through using the debugger and check all the values used in every comparison/operation.



wabbit [:D]

snoopy  
#3 Posted : Monday, July 13, 2009 8:53:14 AM(UTC)
snoopy

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 4/25/2006(UTC)
Posts: 10

Thanks wabbit.

You have given me a few ideas ;)

regards
david
wabbit  
#4 Posted : Monday, July 13, 2009 9:40:32 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
As always : if you need more assistance, post your troublesome code and someone should be able to help. (If you want my help -- be quick as I am going for a short holiday in a couple of days)


wabbit [:D]

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.