// JP opened flex table

Click to See Complete Forum and Search --> : Bind DLL and executables


NoTime2Wait
February 17th, 2007, 01:48 AM
hello folks,

I was wondering it if was possible to attaches DLLs and other files to executables and extract them at runtime.

waiting for your answers.

cya

Chazwazza
February 17th, 2007, 04:34 AM
One way would be to maybe write a "loader" program, in which you package all of your files together, then have the loader execute the real program and quit.

I've never done this before but it might be possible. Kinda like a self-extracting exe which executes the target before quitting.

Zaccheus
February 17th, 2007, 10:50 AM
hello folks,

I was wondering it if was possible to attaches DLLs and other files to executables and extract them at runtime.

waiting for your answers.

cya

Just include it as a resource (like dialog boxes and strings are).

In the .rc file:

ID_MY_BINARY_FILE RCDATA "filename.dll"


You can then load that resource at runtime and save it to the harddrive.

golanshahar
February 17th, 2007, 03:34 PM
hello folks,

I was wondering it if was possible to attaches DLLs and other files to executables and extract them at runtime.

waiting for your answers.

cya

This thread (http://www.codeguru.com/forum/showthread.php?t=384538) might help ;)

Cheers

NoTime2Wait
February 17th, 2007, 08:52 PM
thank you all, I appreciate

//JP added flex table