Killerdou
2008-01-06 08:19:32
First of all, you will need multiple plugins, so for example smart.dll and smart1.dll(you can just copy your current one.
Then you need to allow api calls(script>>>allow api calls). Now, you need to do an api call(why else would we allow them). Here is what you need to do:
If there are any objections against this post, please tell me and i'll remove it.
Have fun autoing,
Killerdou
Then you need to allow api calls(script>>>allow api calls). Now, you need to do an api call(why else would we allow them). Here is what you need to do:
procedure SmartSetup( w : string; d, s : boolean); external '_setup@12@smart.dll stdcall';
Now, in the next script you want to run, you need to use
procedure SmartSetup( w : string; d, si : boolean); external '_setup@12@smart1.dll stdcall';
Obviously if your .dlls are called differently, you have to change the filename after the second @. I am not sure if scar api calls can handle spaces in the name, but you can try it. This should make using multiple smarts a whole lot easier:).If there are any objections against this post, please tell me and i'll remove it.
Have fun autoing,
Killerdou