Sign in to follow this  
Followers 0
tmbeach

Encapsulate Auto3Lib in DLL

5 posts in this topic

Hello again,

I'm using the Auto3Lib to grab information from nodes in a TreeView with 3000+ nodes. Problem is the automation gets 1/2 way through the loop and quits -- moves onto the next search. I want to debug this in a .NET app but cannot figure out how to compile the Auto3Lib functions into a DLL the same way the AutoItX functions are. Can this be done and if so, how?

TIA,

Thomas

Share this post


Link to post
Share on other sites

As far as I know NO.

AutoIt is interpreted language so it can't create DLL files.

But You have sources to all UDFs and Auto3Library so you can translate desired code functions into your target language (.NET)

Share this post


Link to post
Share on other sites

Ok, then the AutoItX.dll is not a creation of the .au3 scripts but rather a direct creation of the underlying C++ source? I think I've got it.

Thanks for the quick reply and I will see what I can do to convert the .au3 source functions to C#.

Share this post


Link to post
Share on other sites

As fare as I know autoit3lib is a wrapper around the native win32 calls. Translating those you need should be straight forward.

Happy coding..:P

Share this post


Link to post
Share on other sites

Ok, then the AutoItX.dll is not a creation of the .au3 scripts but rather a direct creation of the underlying C++ source? I think I've got it.

Yes. AutoItX DLL is created/compiled in C++ and not in AutoIt

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