Abstract: Building and running project in C++Builder IDE gives Access Violation involving COMP32P.DLL
Building and running project in C++Builder IDE gives Access Violation involving COMP32P.DLL
���� I am using C++Builder. Sometimes, when I build and run my project within the IDE, I get an Access Violation involving COMP32P.DLL. How can I get around this error?
���� This problem usually seems to be associated in some way with the pre-compiled headers. For instance, they may have become corrupted by some combination of factors. Try the following potential workarounds in the order presented... 1)� Delete existing pre-compiled headers Delete the .CSM and .#?? pre-compiled header files. To err on the safe side, you might delete the project's other intermediate files (.IL?, .OBJ, .TDS) as well. Then do a Build All. 2)� Move pre-compiled headers elsewhere Open the Project Options for your project and click on the Compiler tab. For Pre-Compiled Headers, the default File Name setting should be $(BCB)\lib\vcl60.csm. Try changing that to somewhere else, perhaps a subdirectory in your project's folder. Then do a Build All. 3)� Change name of the pre-compiled header file Open the Project Options for your project and click on the Compiler tab. For Pre-Compiled Headers, the default File Name should be VCL60.CSM. Try changing that to something else. Then do a Build All. ���� If none of the above works, then the only solution may be to disable pre-compiled headers. To do this, open the Project Options and click on the Compiler tab. In the Pre-Compiled Headers section, select None and hit OK. Then do a Build All. NOTE: The preceding information mentions file names that are specific to C++Builder 6. However, it applies to all versions of C++Builder.
Author:� Yu-Chen Hsueh