kevinalmansa / dll_wrapper Goto Github PK
View Code? Open in Web Editor NEWA program that generates code to implement a DLL Proxy.
License: MIT License
A program that generates code to implement a DLL Proxy.
License: MIT License
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!
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.
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
):
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?
Thanks!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.