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,704 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Refresh JTable Content 6 206
eclipse ide not starting 16 79
Visual Studio 2015 and Uninstall of Web Essentials 2 1,073
Netbeans Open project initial dir 5 42
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 perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

911 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

21 Experts available now in Live!

Get 1:1 Help Now