Sign in to follow this  
Followers 0
jvetter713

General DLL related question

3 posts in this topic

This is actually two questions.

1) I have a DLL that I am trying to access with the following:

$dll = DllOpen("C:\Visual Studio Solutions\Windows\SampleDLL\bin\SampleDLL.dll")

$result = DllCall($dll, "str", "Class1.Test")

The DLL is one I wrote in VB.NET. Is this even possible? All the examples I see are accessing windows DLL's making API calls.

Second, Can I access dlls compiled by AutoIt3 with a Visual Basic.NET project?

Thanks in advance

Share this post


Link to post
Share on other sites



On your last question, Look at AutoItX3.dll in your autoit AutoItx Folder.

Note: Last I checked we were only able to compile .exe and .a3x files.


[center]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.[/center]

Share this post


Link to post
Share on other sites

DllCall() works on functions, not classes. Export some functions and you can call them.

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