ogloed Posted January 16, 2017 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
Moderators JLogan3o13 Posted January 16, 2017 Moderators 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!
Iczer Posted January 16, 2017 Posted January 16, 2017 @ogloed find "DLL Export Viewer" and you can see actually exported functions in dll
ogloed Posted January 16, 2017 Author 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
ogloed Posted January 16, 2017 Author Posted January 16, 2017 (edited) On 1/16/2017 at 4:50 PM, Iczer said: @ogloed find "DLL Export Viewer" and you can see actually exported functions in dll Expand 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
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