BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Very strange error... please HELP ME!!!

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Edo
Guest





PostPosted: Thu Apr 29, 2004 10:30 am    Post subject: Very strange error... please HELP ME!!! Reply with quote



Hi, this is my problem

I'm using BCB 5.0 with Borland patch... I'm developing a "big" project
(about 70 units)

since about one week when I compile and run my project I receive strange
exception in run-time like "grid out of bounds" ecc

If I try to debug I can see that these exceptions are in strange part of
code (like assignment of variable or other)

another strange thing is that if I copy my project on onether pc (with the
same BCB) and I try to compile it, It compiles rigth for the first 4 or 5
times, then another strange exception

Can anybody help me.... please

Thank a lot, edo


Back to top
Palle Meinert
Guest





PostPosted: Thu Apr 29, 2004 3:48 pm    Post subject: Re: Very strange error... please HELP ME!!! Reply with quote



I had something similar, although it was always access-violation. I wasted
almost 2 weeks trying to track down the this bug and was very frustrated
that code-guard could not catch it the occurrence of the exception seemed
random.

finally it turned out that it was a out of range in one of my Pascal-units
and range-check for Pascal was disabled. This caused the program to become
instable and suddenly of the blue give and access-violation when trying to
execute instruction which demanded heap storage to be allocated.

So of you haven't tried already, try running your program with code-guard
enabled. If you have Pascal units in your project try enable all the checks
for run-time errors on the Pascal-tab.

/Palle

"Edo" <buildweb (AT) infinito (DOT) it> skrev i en meddelelse
news:4090d949 (AT) newsgroups (DOT) borland.com...
Quote:
Hi, this is my problem

I'm using BCB 5.0 with Borland patch... I'm developing a "big" project
(about 70 units)

since about one week when I compile and run my project I receive strange
exception in run-time like "grid out of bounds" ecc

If I try to debug I can see that these exceptions are in strange part of
code (like assignment of variable or other)

another strange thing is that if I copy my project on onether pc (with the
same BCB) and I try to compile it, It compiles rigth for the first 4 or 5
times, then another strange exception

Can anybody help me.... please

Thank a lot, edo





Back to top
henk
Guest





PostPosted: Fri Apr 30, 2004 9:22 am    Post subject: Re: Very strange error... please HELP ME!!! Reply with quote




I vaguely remeber having had something alike and as far as I
still know, I cured it by(a combination of?)

- removing all units from the project
- adding all units to the project
- compile without using cached precompiled headers

HTH, henk

"Edo" <buildweb (AT) infinito (DOT) it> wrote:
Quote:
Hi, this is my problem

I'm using BCB 5.0 with Borland patch... I'm developing a "big" project
(about 70 units)

since about one week when I compile and run my project I receive strange
exception in run-time like "grid out of bounds" ecc

If I try to debug I can see that these exceptions are in strange part of
code (like assignment of variable or other)

another strange thing is that if I copy my project on onether pc (with the
same BCB) and I try to compile it, It compiles rigth for the first 4 or 5
times, then another strange exception

Can anybody help me.... please

Thank a lot, edo




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.