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