0 LIKES LikeUnLike
I'm trying to follow this tutorial http://www.directxtutorial.com/Tutorial9/B-Direct3DBasics/dx9B1.aspx#still(The entire code is at the bottom of the page above the blue "box" and you have to press view code"But I am getting these errors when I try to compile it.C:\Documents and Settings\*user*\Desktop\GWLP\GWLP CONFIG\DirectX\main.cpp(39) : error C2440: '=' : cannot convert from 'unsigned short [12]' to 'const char *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style castC:\Documents and Settings\*user*\Desktop\GWLP\GWLP CONFIG\DirectX\main.cpp(52) : error C2664: 'CreateWindowExA' : cannot convert parameter 2 from 'unsigned short [12]' to 'const char *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style castWhy is this?
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.