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.


Nevermind. I figured it out. Thanks anyway.

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.