Load Texture Problem

Started by
10 comments, last by gamedream 20 years, 3 months ago
Yes, Here is my output before, but when i add the "CreateTextureFormFile" statement to my code, it have error message by Microsoft. Do you have this error message? May be my Visual C++ have problem.

if you copy my code and called the CreateTextureFromFile, it need to have a bmp, called "1.bmp", the bmp you can create yourself.
Advertisement
Hello, EveryBody, I know what''s wrong I have. It is not relative to any program. In my below code that I posted. It is work and Ok. The problem that I cannot run is becasue when I use Visual C++, I import d3dx8.lib and d3dx9.lib at the same time. Therefore, it make a error when I call CreateTextureFromFile. ~"~
But anyway, I can solve my problem and I really thanks all people that you try to help me. I will try hard for my program and will do my first game. ^_^;;

This topic is closed to new replies.

Advertisement