Sign in to follow this  
Followers 0
Damastah

Make A DLL in autoit?

16 posts in this topic

Is it possible?

Share this post


Link to post
Share on other sites



Is it possible?

Did you find any documentation on how to?

What did your search tell you? http://www.autoitscript.com/forum/index.ph...highlite=%2BDLL


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.

Share this post


Link to post
Share on other sites

SORRY, I ddnt search, By the way i love ur ICOn

Share this post


Link to post
Share on other sites

I still dont know HOW to make the DLL., Im making a program in VB and instead of coding the AutoIt Script again, i just want to make a DLL. I have no background in DLL-making

Share this post


Link to post
Share on other sites

I still dont know HOW to make the DLL., Im making a program in VB and instead of coding the AutoIt Script again, i just want to make a DLL. I have no background in DLL-making

Guess you didn't read the topics of the search I did for you. You can't make a DLL in AutoIt.

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.

Share this post


Link to post
Share on other sites

I still dont know HOW to make the DLL., Im making a program in VB and instead of coding the AutoIt Script again, i just want to make a DLL. I have no background in DLL-making

Could you run this by me again but this time slowly?

What is this desire of people wanting to create a DLL?

Use #Include to reuse code if that is what you are looking for.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Could you run this by me again but this time slowly?

What is this desire of people wanting to create a DLL?

Use #Include to reuse code if that is what you are looking for.

Jos

Sorry, i meant, instead of re-compiling the code, and adding it to my projects and stuf, because of VB not being a scripting language, i want to use the DLL's to add autoitscripting ability to my VB code. Regardless, I still want to know how to make a DLL in autoIt

Share this post


Link to post
Share on other sites

Sorry, i meant, instead of re-compiling the code, and adding it to my projects and stuf, because of VB not being a scripting language, i want to use the DLL's to add autoitscripting ability to my VB code.

Have you looked at the ActiveX dll in your AutoIt directory? That's as close as you are going to get to being able to use AutoIt functions in another language through a DLL. Anything else you would have to compile to an executable and use command line parameters as dll function parameters.

Regardless, I still want to know how to make a DLL in autoIt

http://www.autoitscript.com/forum/index.ph...st&p=566209


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.

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Use AutoIt3X.dll when you want to use the AutoIt3 functions in a VB program.

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

thanx. Can you give me an example of how to call an autoit function from the DLL? I'm new to VB also, and This will b my first time using DLLs.

E.G.: how do i get the window title of the active window using a AutoIt3X.dll call?

Edited by Damastah

Share this post


Link to post
Share on other sites

thanx. Can you give me an example of how to call an autoit function from the DLL? I'm new to VB also, and This will b my first time using DLLs.

E.G.: how do i get the window title of the active window using a AutoIt3X.dll call?

Read the autoit3x dll help file? Program Files\AutoIt3\AutoItX\AutoItX.chm

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.

Share this post


Link to post
Share on other sites

ok

Share this post


Link to post
Share on other sites

I want to, instead of adding extra files to my (other language) projects, write a script and then just embed the functions I write into my (other language) code. Makes things easier for me. Is this possible?

Share this post


Link to post
Share on other sites

No.

I can't figure out where people keep getting the idea that they can write dlls in AutoIt.

Share this post


Link to post
Share on other sites

just embed the functions I write into my (other language) code.

IS there a way to get that accomplished in another way?

Share this post


Link to post
Share on other sites

You have to translate the AutoIt code to the other languages.

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  
Followers 0