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,702 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
  • 2
  • 2
5 Comments
 
LVL 30

Assisted Solution

by:Axter
Axter earned 250 total points
Comment Utility
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
Comment Utility
COW32 is a runtime library...
If not Axter's recomendation works try reinstall BCB...

George Tokas.
0
 

Author Comment

by:apx_31088
Comment Utility
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
Comment Utility
>>[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
Comment Utility
    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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

744 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

12 Experts available now in Live!

Get 1:1 Help Now