Jump to content
Sign in to follow this  
Olish

Using DLLs instead of Func ... EndFunc

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

No what I want to do is :

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

instead of :

#include "myfunctions.au3"
...
myfunc()
The question remains why you want to do this ?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×
×
  • Create New...