fi3ldy Posted October 25, 2007 Share Posted October 25, 2007 I have two seperate dll's, one which holds a function for taking print screens and processes the image and the other is an MD5 hash calculator, for file checksums and md5 hash'ing strings. I would like to know if it would be possible to merge both of the DLL's into one, without damaging them in the process - And if so, any ideas of how? Thanks alot, Danny. Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 25, 2007 Share Posted October 25, 2007 I have two seperate dll's, one which holds a function for taking print screens and processes the image and the other is an MD5 hash calculator, for file checksums and md5 hash'ing strings.I would like to know if it would be possible to merge both of the DLL's into one, without damaging them in the process - And if so, any ideas of how?Thanks alot, Danny.Is this an AutoIt question...? If it is, then packing the two DLLs into your compiled script with FileInstall() is as close as you are going to get, and that will still unpack them to disk at run time. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
fi3ldy Posted October 25, 2007 Author Share Posted October 25, 2007 (edited) Yes it is autoit related. Yeah, basically I'm using captdll for printscreens and an md5.dll for md5 hashing, I just didnt want the two dll's being unpacked when the file is run, so was wondering if it was possible to intergrate the two together, but no worries:) Edited October 25, 2007 by fi3ldy Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 25, 2007 Moderators Share Posted October 25, 2007 I'm curious on what other language does this (packs two dll's with the ability to call each individually)? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 25, 2007 Share Posted October 25, 2007 Yes it is autoit related. Yeah, basically I'm using captdll for printscreens and an md5.dll for md5 hashing, I just didnt want the two dll's being unpacked when the file is run, so was wondering if it was possible to intergrate the two together, but no worries:)You might take a look at this topic: Coming Soon: PluginsOver my head at this point, but you might want to play... Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
evilertoaster Posted October 25, 2007 Share Posted October 25, 2007 I don't think it's been done before but in thoery you could use this UDF- http://www.autoitscript.com/forum/index.php?showtopic=51103to embed the dll into the script and then do some fancy-footwork to get a dllhandle based on that embeded binary data instead of from a file...sounds kinda troublesome though. Link to comment Share on other sites More sharing options...
evilertoaster Posted October 25, 2007 Share Posted October 25, 2007 Did some more reasearch... Looks very possible. It has been done already in other languages-http://www.joachim-bauch.de/tutorials/load..._memory.html/enhttp://wiki.tcl.tk/3374basic idea from this thread - http://www.osronline.com/showThread.cfm?link=18784 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now