PDA

View Full Version : DLL & OCX into exe



(TNT)
04-14-2002, 06:41 AM
Hi,

I need a program that can pack dlls and ocx files into the exe. I know the program Alloy and its perfect and does what i need but it needs registering, and there is nothing avalible for me to register it yet ;)... And its $90... Does anyone know of another program that can do this just compress ocx files and dlls into a win32 exe. Its for a vb prog if that makes much difference alothough alloy is for all langs.

Thanks,
TNT

Fordy
04-14-2002, 07:51 AM
Can you load them as custom resources and then exract them at runtime?

(TNT)
04-14-2002, 07:59 AM
Fordy, do you have any code that i can use to extract them at runtime? thats a good idea, just i dont have much experience with custom resources.

Also if you start a prog and the dlls arnt present then you know you get an error?, well can i extract the files before this error occurs?

Thanks
TNT

Fordy
04-14-2002, 09:10 AM
Yeah sure...try here (http://www.cprogramming.com/cboard/showthread.php?s=&threadid=14145&highlight=resource)