Battery Posted June 23, 2010 Share Posted June 23, 2010 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) Link to comment Share on other sites More sharing options...
Battery Posted June 24, 2010 Author Share Posted June 24, 2010 Can someone help me? Link to comment Share on other sites More sharing options...
Skruge Posted June 24, 2010 Share Posted June 24, 2010 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] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now