Giter VIP home page Giter VIP logo

dll_wrapper's People

Contributors

kevinalmansa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dll_wrapper's Issues

Help with intercepted function

Hi,

I'll be grateful for your help please. I've successfully created a dll wrapper but having difficulty manipulating the intercepted function.

Using the example in the repo, how would I, for example, change the value of a and/or b or change the returned value?

I'm still learning c++ so apologies for the newbie question!

parameters array is addititive

Re targeted for VS2019 and having an issue that the function params are adding each time instead of going into their own array. For example I'm having

extern "c" function one (param 1.1, param 1.2)
then instead of
extern "c" function two (param 2.1, param 2.2)
I'm getting
extern "c" function two (param 1.1, param 1.2, param 2.1, param 2.2)

seems like a problem in intercepts.cpp referencing a global parameters instead of the function.paramaters, but I'm not quite following what it's supposed to be.

Interception not working

Hello,

thanks for your awesome DLL Wrapper! I've been exactly searching for this and found it through your blog. I'm working on a project with some old game which builds on GDI. I want to intercept a couple of GDI calls.

I followed your guide and I was successful in generating a DLL which export forwards all functions from gdi32.dll. Unfortunately the interception is not working for but and always gives me an error (tried to intercept ExtTextOutA):
grafik

I've been playing around with the code all day, but somehow I don't really get the problem / have too little experience in that matter. Do you have an advice or solution for me?

GdiWrapper.zip

Thanks!

help with modifying intercepted_function_template.cpp

Thanks for a very useful tool.

I wish to modify intercepted_function_template.cpp by changing the line printf("%s Called. The function has been intercepted\n"); to include the parameter name or return type for example.

I'm aware that I can do this manually when importing the generated files but it will be useful to be able to modify the template before the files are generated.

I'm using @Xis-Ytneves fork for VS2019 and unfortunately only have limited experience in C++ and will be grateful for any assistance on how to do this please.

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.