Thread: Borland C++ Complier Error Missing cox32.obj

  1. #1
    Registered User
    Join Date
    May 2010

    Borland C++ Complier Error Missing cox32.obj

    I have the Borland C++ 5.5 complier and linker and have been using them for 3 weeks. I have set up the configure files as shown on your cprogramming web page instructions.

    The complier and linker work fine as long as the code is contained in main(). When I generate a call function (that I wrote or copied from your web page) I then get "Unable to open file 'C0X32.OBJ' and the process stops.

    I copied two sample 'function call routines' (1 c routine and 1 c++ routine) from your tutorial section. C++ routine is found at -- Tutorial: Functions -- When I tried to compile and link them I get the same error message "Unable to open file 'C0X32.OBJ' ".

    I looked on the internet and found more than two hundred complaints about the missing COX32.obj file when dealing with Borland C++ complier and linker.

    I have searched my computer for the cox32.obj and do not fine such a file.

    I have searched the internet for the cox32.obj and have not found a copy of the file.

    Does any one know how to solve this problem.

    Bill Agnor
    Last edited by Salem; 05-03-2010 at 10:44 PM. Reason: snip email address

  2. #2
    Registered User
    Join Date
    May 2010

    Unable to open file 'C0X32.OBJ'

    Found the solution to the "Unable to open file 'C0X32.OBJ' ".

    Thanks to vulcan_146's post on 03-06-2004 at 08:25 PM about the Unresolved external '_main' referenced from C:\BORLAND\BCC55\LIB\COX32.OBJ I was able to fix my problem of "Unable to open file 'C0X32.OBJ' ".

    The problem in both cases came from the complier switch settings. Although we were dealing with different switch settings when I cleared the -v (source level debugging switch) the problem went away.

    Again thanks to vulcan_146 for pointing to the source of the problem.
    Last edited by Bill Agnor; 05-04-2010 at 12:20 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. complier with bios.h
    By neuflex in forum C Programming
    Replies: 6
    Last Post: 03-08-2005, 07:27 AM