Results 1 to 3 of 3

Thread: Another One.

  1. #1
    Junior Member Newbie
    Join Date
    May 2001
    Location
    Pawtucket, Rhode Island, USA
    Posts
    10

    Another One.

    How do I load a bitmap of a texture. I can do it using a windows application but not a console app. I was following a tutorial but it didn't work when I tried to compile in a console application, which is where I need to do it. I keep getting a link error.

    Thanks

  2. #2
    Junior Member Newbie
    Join Date
    May 2001
    Location
    Pawtucket, Rhode Island, USA
    Posts
    10

    Re: Another One.

    Nevermind. I figured it out. Thanks anyway.

  3. #3
    Member Newbie
    Join Date
    May 2001
    Posts
    39

    Re: Another One.

    You can't use GDI Windows API Functions on a Console application because the libraries are not linked (you use Visual C++, I guess).

    The GDI functions generally use a DC (Device Context) a console application is not a Window then it don't have a DC.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean