Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ken-sf opened this issue Mar 10, 2023 · 0 comments
Open

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

ken-sf opened this issue Mar 10, 2023 · 0 comments

Comments

@ken-sf
Copy link

ken-sf commented Mar 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant