Actually tho that is an error, that is only one of his errors.But as Harava said you're using the wrong character setpe and the next error I see is you have "onresetDevice", the 'R' and 'O' should be capitalize to give you "OnResetDevice".
Originally Posted by topblast
Actually tho that is an error, that is only one of his errors.But as Harava said you're using the wrong character setpe and the next error I see is you have "onresetDevice", the 'R' and 'O' should be capitalize to give you "OnResetDevice".
Thanks . I will try it .
It works . But what about : c:\users\homeykhairul\documents\visual studio 2010\projects\strleya d3d menu\ipch\strleya d3d menu\functions.h(15): error C2664: 'ID3DXFont:rawTextW' : cannot convert parameter 2 from 'char []' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\users\homeykhairul\documents\visual studio 2010\projects\strleya d3d menu\ipch\strleya d3d menu\d3dbase.cpp(170): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
Originally Posted by KhairulRifqi
It works . But what about : c:\users\homeykhairul\documents\visual studio 2010\projects\strleya d3d menu\ipch\strleya d3d menu\functions.h(15): error C2664: 'ID3DXFont:rawTextW' : cannot convert parameter 2 from 'char []' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\users\homeykhairul\documents\visual studio 2010\projects\strleya d3d menu\ipch\strleya d3d menu\d3dbase.cpp(170): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
i might want to change the charset or fix the function instead o DrawTextW, try DrawTextA
and the same for GetModuleHandle
Originally Posted by topblast
i might want to change the charset or fix the function instead o DrawTextW, try DrawTextA
and the same for GetModuleHandle
Thank you . But i have already know the solution .
Thanks for your help .