Jump to content
  • Advertisement
Sign in to follow this  
barouqeanxiety

Release- errors, Debug-no Errors...

This topic is 3672 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So when I release my source I get around 11 errors. When its debug. I get 0. All the errors are data Type conversion Errors: ex: .\D3DManager.cpp(37) : error C2664: 'D3DManager::errorCheck' : cannot convert parameter 2 from 'const char [54]' to 'LPCTSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast .\D3DManager.cpp(64) : error C2440: '=' : cannot convert from 'const char [53]' to 'LPTSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast .\D3DManager.cpp(70) : error C2440: '=' : cannot convert from 'const char [56]' to 'LPTSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast .\D3DManager.cpp(76) : error C2440: '=' : cannot convert from 'const char [45]' to 'LPTSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast .\D3DManager.cpp(81) : error C2664: 'wsprintfW' : cannot convert parameter 2 from 'const char [17]' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast .\D3DManager.cpp(84) : error C2664: 'wsprintfW' : cannot convert parameter 2 from 'const char [8]' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast window.cpp .\window.cpp(21) : error C2440: '=' : cannot convert from 'LPCSTR' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast .\window.cpp(25) : error C2664: 'CreateWindowExW' : cannot convert parameter 3 from 'LPCSTR' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast .\window.cpp(51) : error C2440: '=' : cannot convert from 'LPCSTR' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast .\window.cpp(55) : error C2664: 'CreateWindowExW' : cannot convert parameter 3 from 'LPCSTR' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast main.cpp .\main.cpp(70) : error C2664: 'MessageBoxW' : cannot convert parameter 3 from 'const char [15]' to 'LPCWSTR' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast im using Multi-Byte not unicode. and as I said it works fine in debug...

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!