• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3841
  • Last Modified:

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

    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
apx_31088
Asked:
apx_31088
  • 2
  • 2
2 Solutions
 
AxterCommented:
Hi apx_31088,
Have you tried a full rebuilt?

David Maisonave (Axter)
Cheers!
0
 
George TokasCommented:
COW32 is a runtime library...
If not Axter's recomendation works try reinstall BCB...

George Tokas.
0
 
apx_31088Author Commented:
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
 
George TokasCommented:
>>[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
 
apx_31088Author Commented:
    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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now