 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Edo Guest
|
Posted: Thu Apr 29, 2004 10:30 am Post subject: Very strange error... please HELP ME!!! |
|
|
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
|
Posted: Thu Apr 29, 2004 3:48 pm Post subject: Re: Very strange error... please HELP ME!!! |
|
|
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
|
Posted: Fri Apr 30, 2004 9:22 am Post subject: Re: Very strange error... please HELP ME!!! |
|
|
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 |
|
 |
|
|
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
|
|