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. unresolved external symbol _wWinMain@16

unresolved external symbol _wWinMain@16

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpdiscussion
9 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
    Raghavendra Pise
    wrote on last edited by
    #1

    Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.

    R N M H 4 Replies Last reply
    0
    • R Raghavendra Pise

      Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      Raghavendra Pise wrote:

      I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS

      You should also include UNICODE and _UNICODE in these defintions.


      Nibu thomas A Developer Programming tips[^]  My site[^]

      R 1 Reply Last reply
      0
      • R Raghavendra Pise

        Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.

        R Offline
        R Offline
        Rage
        wrote on last edited by
        #3

        Raghavendra Pise wrote:

        WinMain

        You are obviously missing this function into your build, e.g. there is a missing file you need to #include (maybe #include <windows.h> ?)

        ~RaGE();

        I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

        R R 2 Replies Last reply
        0
        • R Raghavendra Pise

          Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #4

          Do you want to use the MBCS or Unicode character set? Your preprocessor settings say MBCS but you're using the Unicode entry point.

          --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

          R 1 Reply Last reply
          0
          • R Raghavendra Pise

            Hi Friends, I am new to this discussion. I am facing Linker error while building my project. Error is:Creating library C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.lib and object C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 C:\Program Files\Quark\QuarkDDS 4\QuarkDDS\XTension\OptimakerSXT2.xnt : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS 2) Link-> Output->wWinMainCRTStartup. Inspite of these settings i am getting Above errors.Anybody knows, please reply me.

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            And see here[^] maybe it some helpfuls


            WhiteSky


            1 Reply Last reply
            0
            • R Rage

              Raghavendra Pise wrote:

              WinMain

              You are obviously missing this function into your build, e.g. there is a missing file you need to #include (maybe #include <windows.h> ?)

              ~RaGE();

              I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

              R Offline
              R Offline
              Rage
              wrote on last edited by
              #6

              Nevermind, forget my answer, I did not read your post thoroughly.

              ~RaGE();

              I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

              1 Reply Last reply
              0
              • R Rage

                Raghavendra Pise wrote:

                WinMain

                You are obviously missing this function into your build, e.g. there is a missing file you need to #include (maybe #include <windows.h> ?)

                ~RaGE();

                I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

                R Offline
                R Offline
                Raghavendra Pise
                wrote on last edited by
                #7

                Thaks for your feedback. I am already using this, #include header file in my project. Is there any other header file to support WINDOWS?

                1 Reply Last reply
                0
                • N Nibu babu thomas

                  Raghavendra Pise wrote:

                  I have done settings like: 1) c/c++ Tab->Preproccessor->WIN32,_DEBUG,_WINDOWS,_MBCS

                  You should also include UNICODE and _UNICODE in these defintions.


                  Nibu thomas A Developer Programming tips[^]  My site[^]

                  R Offline
                  R Offline
                  Raghavendra Pise
                  wrote on last edited by
                  #8

                  If i did, i will get more errors.Is there any other idea?

                  1 Reply Last reply
                  0
                  • M Michael Dunn

                    Do you want to use the MBCS or Unicode character set? Your preprocessor settings say MBCS but you're using the Unicode entry point.

                    --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

                    R Offline
                    R Offline
                    Raghavendra Pise
                    wrote on last edited by
                    #9

                    Thanks for your feedback.I am Using MBCS not Unicode,Can u plz tell me which Entry point i should use in LInk->Output Option? Please send reply,if u know.

                    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