Solved

Oh No --- "[Linker Error] Unresolved external 'WinMain' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\C0W32.OBJ"

Posted on 2006-10-20
5
3,730 Views
Last Modified: 2013-11-17
    I've been typing a sample program in and it's been working.  Recently typed it in again, and it's not working now.  I've retyped it over and over and keep getting this error:
            [Linker Error] Unresolved external 'WinMain' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\C0W32.OBJ

     Why has this problem started to show up?  What needs to be done to troubleshoot this problem?

0
Comment
Question by:apx_31088
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 30

Assisted Solution

by:Axter
Axter earned 250 total points
ID: 17773596
Hi apx_31088,
Have you tried a full rebuilt?

David Maisonave (Axter)
Cheers!
0
 
LVL 16

Accepted Solution

by:
George Tokas earned 250 total points
ID: 17774113
COW32 is a runtime library...
If not Axter's recomendation works try reinstall BCB...

George Tokas.
0
 

Author Comment

by:apx_31088
ID: 17775200
Hi Axter and George ---

      I'd deleted that project and started all over again, as it was a small piece of demontration code.
      Created a new Application and saved as a new Project.  Now, these errors show when compiled:
          [C++ Warning] MyFirstProgram.cpp(4): W8058 Cannot create pre-compiled header: write failed
          [C++ Warning] MyFirstForm.cpp(4): W8058 Cannot create pre-compiled header: write failed

     Been having lots of issues with privilege levels with my login account on the company computer.  Do you think these "write failed" errors result from not having enough privilege create and write these headers to disk?  Do any other reasons come to mind?

Thanks
0
 
LVL 16

Expert Comment

by:George Tokas
ID: 17775277
>>[C++ Warning] MyFirstProgram.cpp(4): W8058 Cannot create pre-compiled header: write failed
>>[C++ Warning] MyFirstForm.cpp(4): W8058 Cannot create pre-compiled header: write failed

Those are warnings and are not important...
Did the project run??

George Tokas.
0
 

Author Comment

by:apx_31088
ID: 17775542
    IT chief came by and changed my login account to Administrator, and that fixed the problem.  Don't know why Borland C++ Builder 6 Professional won't work on the company LAN when operated with accounts less than Adminstrator.  I post that problem on another message . . .
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

624 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