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. Warning after importing bitmap

Warning after importing bitmap

Scheduled Pinned Locked Moved C / C++ / MFC
graphicstutorialquestionannouncementlearning
5 Posts 2 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.
  • E Offline
    E Offline
    Ernesto D
    wrote on last edited by
    #1

    Hi all, ibe imported a bitmap to my app, and now i get the following warning: Build : warning : failed to (or don't know how to)build 'D:\Code\FixDesp\vsp.bmp' i imported the bitmap the "usual" way via the resource pane ->import... context menu option. im using VC6 in a WTL7 project any idea of what im doing wrong? Thanks! UPDATE: ibe imported an icon, and i got another warning for it! WTF??

    O 1 Reply Last reply
    0
    • E Ernesto D

      Hi all, ibe imported a bitmap to my app, and now i get the following warning: Build : warning : failed to (or don't know how to)build 'D:\Code\FixDesp\vsp.bmp' i imported the bitmap the "usual" way via the resource pane ->import... context menu option. im using VC6 in a WTL7 project any idea of what im doing wrong? Thanks! UPDATE: ibe imported an icon, and i got another warning for it! WTF??

      O Offline
      O Offline
      ohadp
      wrote on last edited by
      #2

      Perhaps your file is a mis-named .bmp file ? perhaps it's a JPG or something like that ? Try to open it with ms-paint and see what happens, same goes for the icon.

      E 1 Reply Last reply
      0
      • O ohadp

        Perhaps your file is a mis-named .bmp file ? perhaps it's a JPG or something like that ? Try to open it with ms-paint and see what happens, same goes for the icon.

        E Offline
        E Offline
        Ernesto D
        wrote on last edited by
        #3

        Thanks for your answer. the bitmap is a "standard" .bmp file, same goes for the icon its a normal .ico file. I just spent about 40 minutes triple-checking everything, and i have no clue as to what im i doing wrong, ibe imported bitmaps, icons, .wav files, and even custom resources tons of times before and i never had any trouble.

        O 1 Reply Last reply
        0
        • E Ernesto D

          Thanks for your answer. the bitmap is a "standard" .bmp file, same goes for the icon its a normal .ico file. I just spent about 40 minutes triple-checking everything, and i have no clue as to what im i doing wrong, ibe imported bitmaps, icons, .wav files, and even custom resources tons of times before and i never had any trouble.

          O Offline
          O Offline
          ohadp
          wrote on last edited by
          #4

          It's starting to soudn interesting :-) The next thing I'd try if I were you was to create a New Blank MFC App and throw the resources in there, see what happens. If it works it means something is messed up with your current-project, so you can start comparing project settings. If it doesn't work, well then either the bitmaps end up being corrupt or your VC is malfunctioning :-)

          E 1 Reply Last reply
          0
          • O ohadp

            It's starting to soudn interesting :-) The next thing I'd try if I were you was to create a New Blank MFC App and throw the resources in there, see what happens. If it works it means something is messed up with your current-project, so you can start comparing project settings. If it doesn't work, well then either the bitmaps end up being corrupt or your VC is malfunctioning :-)

            E Offline
            E Offline
            Ernesto D
            wrote on last edited by
            #5

            This is weird!, i just created a new project, imported the exact same icon & bitmap and got no warnings at all, i compared every project setting (twice) and they are excacly the same!, yet i still get the same warnings on the original app! as a side note, the original app works just fine (even with the warnings) weird isnt it??

            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