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. loading bitmaps

loading bitmaps

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestioncomgraphicsdebugging
4 Posts 4 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
    Rajveer
    wrote on last edited by
    #1

    I'm trying to learn the tutorial at this site: http://www.codeproject.com/bitmap/gditutorial.asp when I try to build the first tutorial, I get the following error: --------------------Configuration: Main - Win32 Debug-------------------- Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Main.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Main.exe - 2 error(s), 0 warning(s) what is the problem?

    R L M 3 Replies Last reply
    0
    • R Rajveer

      I'm trying to learn the tutorial at this site: http://www.codeproject.com/bitmap/gditutorial.asp when I try to build the first tutorial, I get the following error: --------------------Configuration: Main - Win32 Debug-------------------- Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Main.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Main.exe - 2 error(s), 0 warning(s) what is the problem?

      R Offline
      R Offline
      RockNix 0
      wrote on last edited by
      #2

      it seems you have setup a console-app project instead of a win32-app project Stay heavy ... RockNix/// ------------------------------- Look out for free Win32 Serial Communication Module for VC++ or Borland C++ Builder on http://www.klangwerker.de -------------------------------

      1 Reply Last reply
      0
      • R Rajveer

        I'm trying to learn the tutorial at this site: http://www.codeproject.com/bitmap/gditutorial.asp when I try to build the first tutorial, I get the following error: --------------------Configuration: Main - Win32 Debug-------------------- Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Main.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Main.exe - 2 error(s), 0 warning(s) what is the problem?

        L Offline
        L Offline
        lucy 0
        wrote on last edited by
        #3

        try this: Project --> Settings --> Link --> Category: Output --> Entry point symbol: WinMainCRTStartup

        1 Reply Last reply
        0
        • R Rajveer

          I'm trying to learn the tutorial at this site: http://www.codeproject.com/bitmap/gditutorial.asp when I try to build the first tutorial, I get the following error: --------------------Configuration: Main - Win32 Debug-------------------- Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Main.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. Main.exe - 2 error(s), 0 warning(s) what is the problem?

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

          Rajveer wrote: error LNK2001: unresolved external symbol _main That's answered in the VC forum FAQ. --Mike-- "COM didn't solve the old version of DLL hell - it just provided us with a new and improved version of hell."   -- John Simmons, 1/22/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

          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