PDA

View Full Version : Another One.



MCote79
05-07-2001, 01:09 PM
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

MCote79
05-07-2001, 01:41 PM
Nevermind. I figured it out. Thanks anyway.

Boresight
05-07-2001, 03:39 PM
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.