![]() |
|
[C] C++ insert dll into executable file - 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] C++ insert dll into executable file (/showthread.php?tid=5917801) |
C++ insert dll into executable file - SIM-1866423 - Dec 11, 2018 Using visual studio 2017, when creating exe its also generating libcurl and some other dlls into folder.Possible to insert every dll file into exe ? PHP Code Visual Studio 2017 - Codes works perfectly with "Multi-threaded Debug DLL (/MDd)" option. But when trying to make one "Multi-threaded (/MT)" getting these errors; PHP Code I want to put everything into one executable file on every page google says you need to compile it with "Multi-threaded (/MT)" but that damn fuck not let me to do.Tried everything on google nothing fix problem .. So ANYONE ? 🤮 🤮 🤮 🤮 🤮 🤮 RE: C++ insert dll into executable file - Europa - Dec 11, 2018 What curl release are you using? I don't really understand your problem here. If you see .lib and .dll files that is normal. If you're having problems setting up the latest curl release and linking it to your project try this. Check your projects configuration settings in Project | Properties | Configuration Properties set PATH=$(ExecutablePath)$(LocalDebuggerEnvironment). You could always just call your library manually in your project Code #include "stadfx.h"RE: C++ insert dll into executable file - SIM-1866423 - Dec 11, 2018 (Dec 11, 2018 09:17 AM)Europa Wrote: What curl release are you using? I don't really understand your problem here. If you see .lib and .dll files that is normal. If you're having problems setting up the latest curl release and linking it to your project try this. updated question with codes and debug output. RE: C++ insert dll into executable file - RascalPascal - Dec 11, 2018 Have you thought about static linking those libraries? RE: C++ insert dll into executable file - Europa - Dec 11, 2018 Like the person above has stated statically link your libraries and ensure you have the required VS2017 redistributables then do a clean rebuild. Make sure your debug mode is set to non-debug as well. Also the linker includes libaries that you don't need so perhaps try this: Project Properties -> Linker -> Input -> Ignore specific libraries -> ignore ibcpmtd.lib RE: C++ insert dll into executable file - SIM-1866423 - Dec 12, 2018 None of them worked, so basically i fucking delete cpr library and now using win sockets to connect lol.Thanks guys .. |