| View previous topic :: View next topic |
| Author |
Message |
DistortioN
Joined: 27 Feb 2010 Posts: 10
|
Posted: Wed Mar 10, 2010 1:43 am Post subject: Loading RCDATA from Resource dll |
|
|
I tryed to look on the forum but i have a script thats made out of 3 separate programs. I want them to load trough a dll.
I use this simple label to load and close the exe :
NumMenuStart:
run, data\Spam 1.exe
Return
NumMenuQuit:
Process, Close, Spam 1.exe
Reload
ive made up a resource dll, looked into the dllcall code but cant figure it out.
is it possible to do this ? and can anybody help me on that?
thanks |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Wed Mar 10, 2010 3:29 am Post subject: |
|
|
| Executing an Executable stored as RCDATA is not possible as of date. |
|
| Back to top |
|
 |
DistortioN
Joined: 27 Feb 2010 Posts: 10
|
Posted: Wed Mar 10, 2010 2:53 pm Post subject: |
|
|
thanks for the reply
is there maybe any other way to do it ? |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Thu Mar 11, 2010 3:43 pm Post subject: |
|
|
| Please refer AHK Documentation for FileInstall command. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Mar 11, 2010 10:08 pm Post subject: |
|
|
thanks again for the reply ..
the FileInstall seems intresting, but there its not stated how to retrive the exe stored in a resource dll
somebody have an example for that ? |
|
| Back to top |
|
 |
Zaelia
Joined: 31 Oct 2008 Posts: 604 Location: France
|
Posted: Fri Mar 12, 2010 1:27 am Post subject: |
|
|
If you use FileInstall you don't need a dll, because your compiled version of script have your exe in your exe...
when you launch your exe, at line FileInstall the apps wright to your hard disk the embed exe...
| Code: | FileInstall, C:\My Documents\My File.txt, %A_ProgramFiles%\My Application\Readme.txt, 1
Run, %A_ProgramFiles%\My Application\Readme.txt |
|
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 4652 Location: AHK Forum
|
|
| Back to top |
|
 |
|