Giter VIP home page Giter VIP logo

Comments (5)

T-vK avatar T-vK commented on May 28, 2024 1

Are these errors or warnings?

Try this: https://social.msdn.microsoft.com/Forums/en-US/3f9c5979-0a63-4724-9e31-8beab7a0462b/why-there-is-no-stdafxh-and-targetverh-in-visual-studio-c-2017?forum=visualstudiogeneral
stdafx.h is just the precompiled headers provided by Visual Studio.

Try to fix that issue and the other ones may just go away.

I can't really help you too much with this as I don't use Windows anymore.

If you can't get it to work with Visual Studio 2019, maybe try an older version or use gcc with the gcc branch: https://github.com/T-vK/Memory-Hacking-Class/tree/gcc

from memory-hacking-class.

T-vK avatar T-vK commented on May 28, 2024

What did you try? What errors are you getting?

from memory-hacking-class.

lizardpeter avatar lizardpeter commented on May 28, 2024
  • It could not find #include "stdafx.h"

  • Identifier Memory is undefined

  • I had to rename Memory.hpp to Memory.h, but it's still not working

  • Identifier cin is undefined

  • 'BOOL SetConsoleTitleW(LPCWSTR)': cannot convert argument 1 from 'const char [18]' to 'LPCWSTR' when trying to set console title

  • Return value does not match function type

  • Argument of type "char *" is incompatible with parameter of type "LPWSTR"

I haven't really tried to do anything with it. I am just trying to get the code and your example to run.

from memory-hacking-class.

lizardpeter avatar lizardpeter commented on May 28, 2024

Thanks. I'll try that in a little while and report back.

from memory-hacking-class.

SnoopyDevelops avatar SnoopyDevelops commented on May 28, 2024

In vs2019, I added precompiled headers by using windows desktop wizard and replaced "stdafx.h" with "pch.h".
After that I included iosteam to solve cin, cout error.
Still I have argument type errors and return type error.
In vs2017, return type error has gone, but still I have argument type error.

from memory-hacking-class.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.