Error on this line, and multiple others:
Code:
MessageBox(NULL,"Release Of DC And RC Failed.","SHUTDOWN ERROR",MB_OK | MB_ICONINFORMATION);
Now, did this work in the past? I don't remember changing it in any previous projects and I'm wondering why this won't work, I know I can make a way to work around it I'm just asking!
Code:
error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [29]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Also to note, I'm including these headers into the source file this is in, not sure if it affects the situation though:
Code:
// Main.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <time.h>
#include "Blackjack_Game.h"
#include "State_Manager.h"
#include "Play_State.h"
#include <windows.h> // Header File For Windows
#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h> // Header File For The Glaux Library