Internal Compiler Error: stage 'BEGIN'

G

Guest

Hello, I had an application which was working just fine and I decided to
modify all database access within the application to utilizie a new Namespace
that I had developed which would handle all database access. After I
modified all of the code to point to the new namespace and created all of the
necessary references, I get an internal compile error when I attempt to
re-compile. I have create a new project and started fresh and I get the same
thing. The new namespace compiles just fine, but the namespace which is
attempting to utilize this new namespace continues to fail to compile. Every
reference to that new namespace is highlighting and I get the following
message "Internal Compiler Error: stage 'BEGIN'". I get the following error
which is not tied to any line item within the code and it is as follows:

"Internal Compiler Error (0xc0000005 at address 535DB559): likely culprit is
'BIND'.

An internal error has occurred in the compiler. To work around this problem,
try simplifying or changing the program near the locations listed below.
Locations at the top of the list are closer to the point at which the
internal error occurred."

If re-compile a few more times it eventually tells me that it can not open
the file name that it is attempting to compile.

Any Ideas?
 
D

darius

Hi,

I have just got the same error, and whent to google to wander ;)

no idea at all what causes the bug, or how to overcome it.

in my case, i have a susipicion that maybe it is because i have an inner
class and am using it. Maybe, do not know :)

i could limit it to a single line:
if (fr.FilterOperation == 6) value = "-2";

if i comment it - no bug. fr is inner class - > FilterHashTable.FilterRule


gud lak ;)
 
D

darius

Hi again,

i have just fixed the bug.

the line
if (fr.FilterOperation == 6) value = "-2";

was causing the trouble.
somehow i managed to note, that FilterOperation is the enum, and not the
variable ;)

so i fixed that and wrote what i meant, and then the compiler relaxes and
said - hey joe! very good

the result:
if (fr.FOperation == FilterHashTable.FilterRule.FilterOperation.IsNull)
value = "-2";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top