Code Monkey home page Code Monkey logo

Comments (7)

AurevoirXavier avatar AurevoirXavier commented on August 11, 2024 1

I found one thing. When I got the cloned project, it was using UTF-8. After I change its format to UTF-8 with BOM manually, it can be build.

from polyhook_2_0.

AurevoirXavier avatar AurevoirXavier commented on August 11, 2024

I follow these steps:

  1. git clone --recursive https://github.com/stevemk14ebr/PolyHook_2_0.git
  2. cd PolyHook_2_0
  3. git submodule update --init --recursive
  4. file->open->cmake
  5. tools->options->cmake->general->CMakeSettings.json
  6. cmake->clean all & cmake->cache->delete all & cmake->cache->generate

from polyhook_2_0.

stevemk14ebr avatar stevemk14ebr commented on August 11, 2024

warning C4819: The file contains a character that cannot be represented in the current code page (936)

This is probably a problem with either how you have git setup, and it's messing with the file encoding. Or perhaps your visual studio setup is weird and it messes with the encoding, or you have your PC set to a weird character set. Either way i just did a fresh clone and it builds fine, try on another machine, it's a problem on your side. Re-Open if it's still broken when you try a different machine.

from polyhook_2_0.

AurevoirXavier avatar AurevoirXavier commented on August 11, 2024

Some problem with '\n' in different code page

go Setting -> language -> regional formatting -> regional setting -> region -> administrative -> change system locale -> check use unicode for worldwide language support

from polyhook_2_0.

stevemk14ebr avatar stevemk14ebr commented on August 11, 2024

If you change your windows locale of course you're having encoding issues. Are you describing the change that you made to fix your issue, or instructing me to change my system encoding and re-save the polyhook source files.

from polyhook_2_0.

AurevoirXavier avatar AurevoirXavier commented on August 11, 2024

Just how I fix the problem : )
Btw, any d3d hook example which use this lib?

from polyhook_2_0.

stevemk14ebr avatar stevemk14ebr commented on August 11, 2024

That's weird you had to do that, it should be fine without. No i dont have specific examples of that, if you look at the test directory you will see examples of how to use the hooks though, just pass a pointer to the function you want to hook.

from polyhook_2_0.

Related Issues (20)

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.