Thread: What does this error mean?

  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
    522
    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