Jump to content
Sign in to follow this  

dll callling non system dlls

Recommended Posts

Ok, so I made a DLL with VS2005 that has a function built in that returns an integer when called.

$dll = DllOpen("Test1.dll")

$result = DllCall("Test1.dll", "int", "testfunc")

MsgBox(1, "Test1", $result)


But this returns a 0 insted of an integer I assigned... and then gives me a fatal error.

AVector: []: Out of bounds.

Am I not doing something I'm supposed to?

Edited by Oldschool

Share this post

Link to post
Share on other sites

obviously <_<

in your message box, check the status of @error do determine what's kicking your butt.

are you _sure_ your dll is doing what you say it is?

I'll see what I can do...

So my syntax is correct...?

I don't have to register this dll within autoit in any other way for it to work?

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...