What does this error mean?

This is a discussion on What does this error mean? within the C++ Programming forums, part of the General Programming Boards category; Compiling... date1tst.cpp Linking... LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/ass3.exe : fatal error LNK1120: 1 unresolved externals Error ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    20

    What does this error mean?

    Compiling...
    date1tst.cpp
    Linking...
    LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
    Debug/ass3.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe

  2. #2
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    523
    It means you are missing a WinMain function.
    If your writing a windows app you need a WinMain() instead of a main(). Or if you are writing a console app you are probably compiling it as a windows app.
    All spelling mistakes, syntatical errors and stupid comments are intentional.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21