Link to home
Start Free TrialLog in
Avatar of ttsenis
ttsenis

asked on

adding a lib into the exe body

Hi,
   hi i work on a non MFC project under the VC 6.00. I use a lib that corresponds into a dll and i want the lib or dll to be included into my exe code so i will not need to install the dll into the target PC. Any way to do that?
Avatar of Member_2_1001466
Member_2_1001466

You have ot statically link the DLL to your code. It blows up the size of your exe but its a single file.
Avatar of ttsenis

ASKER

how do i statically link the DLL . Through a precompile directive ? ,or an API like loadmodule loadlibrary etc...?
ASKER CERTIFIED SOLUTION
Avatar of Member_2_1001466
Member_2_1001466

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial