Jump to content

Recommended Posts

Posted

Hello everybody,

is compiling AutoIt functions in a DLL instead of using AutoIt Scripts for calling them possible ?

And does DllCall wait while using the DLL function is finished or can I launch several "DllCall" in the same time ?

Thanks for your help.

Olivier, from France.

Olivier, from France.Free Wake On LAN script

Posted (edited)

Hello everybody,

is compiling AutoIt functions in a DLL instead of using AutoIt Scripts for calling them possible ?

And does DllCall wait while using the DLL function is finished or can I launch several "DllCall" in the same time ?

Thanks for your help.

Olivier, from France.

If i'm understanding correctly, he wants to use dllcalls like #include :D

Don't know how you'd make it work

Edited by Paulie
Posted

If i'm understanding correctly, he wants to use dllcalls like #include :D

Don't know how you'd make it work

No what I want to do is :

DllCall("myDLL", "myfunction"...)

instead of :

#include "myfunctions.au3"
...
myfunc()

Olivier, from France.Free Wake On LAN script

Posted

No what I want to do is :

DllCall("myDLL", "myfunction"...)

instead of :

#include "myfunctions.au3"
...
myfunc()
It's possible, but you'd have to write the dll in another language. So I don't really see the point in doing that, unless you have a very specific case in which AutoIt is either too slow to accomplish your goals (like a recent project of mine), or AutoIt simply isn't capable of performing the required task.

Nomad :D

Posted

Yeah, sure it is. Write the DLL in C or whatever programming language you like. Compile it, then use a AutoIt's DLL call to that function. I've used it a little for testing. I was going to implement it into my 3D library because the Math's stress AutoIt a lot. But i haven't so i can't really send any examples.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...