Examples_Win32 icon indicating copy to clipboard operation
Examples_Win32 copied to clipboard

compile with code::blocks c++17 mingw compiler

Open ken-sf opened this issue 2 years ago • 0 comments

I had to modify the code slightly to compile using code::blocks with the mingw compiler.

#ifndef UNICODE//https://stackoverflow.com/questions/13977388/error-cannot-convert-const-wchar-t-13-to-lpcstr-aka-const-char-in-assi #define UNICODE #define UNICODE_WAS_UNDEFINED #endif

#include <Windows.h>

#ifdef UNICODE_WAS_UNDEFINED #undef UNICODE #endif

ken-sf avatar Mar 10 '23 16:03 ken-sf