ogloed Posted January 16, 2017 Share Posted January 16, 2017 Hello! There's a DLL, which I want to use in my script. There's the manual for that DLL. I'm trying to use any function from the manual in DllCall() and I get @error=3 ("function" not found in the DLL file). Why is that? How do I fix it? PEiD says that DLL is "Microsoft Visual C++ 6.0 DLL". Is that compatible with AutoIt? How do I use it? Please help. ProgGuide.pdf drvInterface.dll Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 16, 2017 Moderators Share Posted January 16, 2017 @ogloed how about posting your script so we can see what you're attempting to do? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Iczer Posted January 16, 2017 Share Posted January 16, 2017 @ogloed find "DLL Export Viewer" and you can see actually exported functions in dll Link to comment Share on other sites More sharing options...
ogloed Posted January 16, 2017 Author Share Posted January 16, 2017 @JLogan3o13 sure, sorry $hDLL = DllOpen("C:\Program Files\VIA\RAID\drvInterface.dll") $sTest = DllCall($hDLL, "none", "vr_init") ConsoleWrite("error = " & @error & @CRLF) Exit Link to comment Share on other sites More sharing options...
ogloed Posted January 16, 2017 Author Share Posted January 16, 2017 (edited) 1 hour ago, Iczer said: @ogloed find "DLL Export Viewer" and you can see actually exported functions in dll Wow, thank you! "vr_init" is really "?vr_init@@YAHXZ". Why is that so?UPDATE: OK, found: https://msdn.microsoft.com/en-us/library/2ax8kbk1.aspx Thanks! Edited January 16, 2017 by ogloed 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