![]() |
|
[C] Builder won't copy the variable in the Stub file [With Resources] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C] Builder won't copy the variable in the Stub file [With Resources] (/showthread.php?tid=6104263) |
Builder won't copy the variable in the Stub file [With Resources] - SIM-4717218 - Aug 21, 2020 Hi ! I really need help, I've been trying for hours to figure out how to fix this problem but nothing's worked. My builder takes 2 arguments (webhooks, name) one of which must be passed to my stub (webhooks), my builder has no problem to assign arguments to these 2 variables, but I can't pass my variable (webhooks) to my stub using the FindResource, LoadResource functions... (However my builder build all the stub on the disk with the resources) I tried with this topic : C++ Stub Builder Tutorial w/ Source Downloads on HF (I can't post link) and with this article: Modify/Update resources of an Exe/DLL on the fly on CodeProject Here is my code: Builder.cpp Code std::string webhooks;Stub.cpp Code std::string webhooks;Thanks in advance for your help, If you want to help me by discord it's with pleasure (I'm French but I manage in English :)) [deleted] Edit: After couple hours i finally did it, it's works perfectly now ! |