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 CVE 2017-0213 #12
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. I am trying to compile the cpp with Visual Studio 2017 but the output is like the one in this picture (it translates to "you can not assign a value of type "const wchar_t *" to an entity of type "LPWSTR"") . I tried adding a cast using "const_cast<LPWSTR" and also using "(LPWSTR)" before it, but then the .exe file does not work.
The steps i am doing are in Visual Studio 2017 are:
So if i add the cast it compiles but does not work and if i do not add it, it does not compile.
Thank you very much!!
Image: https://i.stack.imgur.com/hBFlB.png
The text was updated successfully, but these errors were encountered: