Sign in to follow this  
Followers 0
Battery

DllCall

3 posts in this topic

Alright so my dll has a function named "test".

When I try to call it using DllCall, I'm getting the error 3, function not found in dll.

$dll = DllOpen("tester.dll")
$result = DllCall($dll, "none", "test")
If @error Then
    MsgBox(0, "error", @error) ;3
EndIf
DllClose($dll)

Share this post


Link to post
Share on other sites



Can someone help me?

Share this post


Link to post
Share on other sites

Can someone help me?

You haven't really given people much time to look at it before bumping.

Anyway, it looks more like a problem with your DLL than with AutoIt.

Can you successfully call the function from another language?

Have you tried using the ordinal value instead of the function name? ANSI vs. Unicode?


[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

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