Access violation

Hi,
 I am using Borland c++ builder 6 and have reacently encountered an access violation when trying to compile various programs. The following message appears in a window:

" Access violation at address 00C8A365 in module 'COMP32P.Dll. Read of address 726F6254"

The error first appeared when trying to complie an old program which had previously always ran fine with no bugs. After this, all other programs would still compile but after re-saving and trying to compile them the above message would appear. This also went for any new programs I  wrote, they at first complied with no problems, but after saving them the error occured.

I have tried to re-install Borland c++ builder 6 and tried putting the COMP32P.Dll in the same location as my executable file, but neither seemed to have an effect as the error still occurs.

Have you idea what is causing this Access violation, Thanks?
nottifAsked:
Who is Participating?
 
moduloConnect With a Mentor Commented:
PAQed with points refunded (500)

modulo
Community Support Moderator
0
 
CayceCommented:
Do you have any custom components installed on the toolbar?

I've experienced this before. Sometimes it was caused by an installed custom package that was doing something like this:

 if(condition)
    throw "Some text";

Changing that to:

  if(condition)
    throw Exception("Some Text");

fixed it.

Not that it could be the only reason.

Also, disable the class browser and the code insight features to see if it helps.
0
 
CayceCommented:
Try disabling or enabling the Debug options on the Project properties. Play with all the compiler flags, too. You may find the solution yourself.
0
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
George TokasCommented:
I think this is a message in release build..
Make a debug build and see from the IDE if it is causing again the same message...
A few secs ago I had a phone from the other place I work and have a similar problem with BCB6...

gtokas.
0
 
nottifAuthor Commented:

I have tried all the suggestions but none have worked so far. Just a bit more information, I am using Helix's OpenGL components with BCB6 and windows XP !
0
 
giridharpCommented:
I had a similar problem. Its not related to custom components.
I did not get the error after installing C++Builder 6 Update Pack 4. Try it out.

Visit this site formore info.
 
http://bdn.borland.com/article/0,1410,29793,00.html
0
 
nottifAuthor Commented:

My Borland C++Builder 6 softwear was the free downloadable trial so I could not install the update pack. However, i  no longer get the error message. Un-installing and then re-installing my OS seemed to do the trick!!!

Thanks however, to everyone for there suggestions.
0
 
CayceCommented:
You should ask for points refund then :)
0
 
George TokasCommented:
Agree...:-)
0
All Courses

From novice to tech pro — start learning today.