Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. help..

help..

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ramina sen
    wrote on last edited by
    #1

    while compiling any prgramin vc++ i am getting the same error pls tell me why it is so like this... MSVCRTD.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16 1 unresolved externals]] Fatal error!! these r the errors i am always gettings..

    L M J A 4 Replies Last reply
    0
    • R ramina sen

      while compiling any prgramin vc++ i am getting the same error pls tell me why it is so like this... MSVCRTD.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16 1 unresolved externals]] Fatal error!! these r the errors i am always gettings..

      L Offline
      L Offline
      L Madhavan
      wrote on last edited by
      #2

      Try New Project > Win32 Console Application.

      1 Reply Last reply
      0
      • R ramina sen

        while compiling any prgramin vc++ i am getting the same error pls tell me why it is so like this... MSVCRTD.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16 1 unresolved externals]] Fatal error!! these r the errors i am always gettings..

        M Offline
        M Offline
        Malli_S
        wrote on last edited by
        #3

        Have you changed the project settings to use UNICODE characters ? The linker is looking for a console application, but the project is being compiled as windows application.

        -Malli...! :rose:****

        1 Reply Last reply
        0
        • R ramina sen

          while compiling any prgramin vc++ i am getting the same error pls tell me why it is so like this... MSVCRTD.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16 1 unresolved externals]] Fatal error!! these r the errors i am always gettings..

          J Offline
          J Offline
          Jijo Raj
          wrote on last edited by
          #4

          Please check this[^] and this[^]. Similar threads which contain solution for your problem. Regards, Jijo.

          _____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

          1 Reply Last reply
          0
          • R ramina sen

            while compiling any prgramin vc++ i am getting the same error pls tell me why it is so like this... MSVCRTD.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16 1 unresolved externals]] Fatal error!! these r the errors i am always gettings..

            A Offline
            A Offline
            aks
            wrote on last edited by
            #5

            May be you defined UNICODE in project settings and doesn't defined the entry point If so set Project Settings -> Link -> Output -> Entry-point = wWinMainCRTStartup

            aks

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups