Solved

Access violation

Posted on 2004-11-02
2,806 Views
Last Modified: 2013-11-17
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?
0
Question by:nottif
    9 Comments
     
    LVL 9

    Expert Comment

    by:Cayce
    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
     
    LVL 9

    Expert Comment

    by:Cayce
    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
     
    LVL 16

    Expert Comment

    by:George Tokas
    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
     

    Author Comment

    by:nottif

    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
     

    Expert Comment

    by:giridharp
    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
     

    Author Comment

    by:nottif

    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
     
    LVL 9

    Expert Comment

    by:Cayce
    You should ask for points refund then :)
    0
     
    LVL 16

    Expert Comment

    by:George Tokas
    Agree...:-)
    0
     

    Accepted Solution

    by:
    PAQed with points refunded (500)

    modulo
    Community Support Moderator
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
    Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now