CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002
    Location
    palakkad,kerala,india
    Posts
    3

    Unhappy how to load bmp image in dos

    please give me the code to load bmp image in dos using c++

  2. #2
    Join Date
    May 2000
    Location
    Washington DC, USA
    Posts
    715
    DOS is a character based command line os. Icons are bitmaps and won't ever ever be able to be displayed while the screen is in character mode.

    Ideas

    1) Get yourself a copy of windows 3.1 or earlier which was written on top of DOS and you can use their graphic api's to load the bit map

    2) You could switch the command interface in dos to graphics mode, ( note, you'll loose the ability to type in commands!!) and then load a modified bitmap translated from the icon to the screen

    I'm thinking neither solution is what you really want. What I think you want is probable to have icons appear on the same screen as your command prompt. Which isn't going to happen due to the properties of the character based display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured