Vert Posted September 30, 2008 Posted September 30, 2008 (edited) Hey everyone, Is there a way to call a function using the 64-bit AutoIt DLL in the same fashion as with the 32-bit version? I am using VB.NET, and want my program to be compatible for 32 and 64 bit users. Here is the conventional way that I call the send function for the 32-bit DLL: Public Declare Sub AU3_Send Lib "AutoItX3" (ByVal lps As String, Optional ByVal nmode As Integer = 0) Further clarification: is there something similar for the 64-bit version, WITHOUT having to actually reference the DLL in my project? Edit: Bah, wrong forum. I'm sorry about that. Edited September 30, 2008 by Vert
Valik Posted September 30, 2008 Posted September 30, 2008 I don't see what your issue is. If you're providing a 64-bit version of your program then call the 64-bit version of AutoItX. For the 32-bit version of your program call the 32-bit version of AutoItX. You must reference the 64-bit DLL versus the 32-bit version but that should be a trivial compile-time condition to set up. Yes, you must do it this way. You can't call a 64-bit DLL from a 32-bit process or vice-versa. You need separate 32-bit and 64-bit versions of your program.
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