firewzy Posted January 21, 2008 Share Posted January 21, 2008 I want to use a function of a dll file with autoit. But the function needs an array point as an inputed parameter. I don't know whether autoit has the ability to return the point address of an array as visual basic 6 has the varptr/strptr/objptr function to get the point of var/str/obj. Please save me! Link to comment Share on other sites More sharing options...
martin Posted January 21, 2008 Share Posted January 21, 2008 I want to use a function of a dll file with autoit. But the function needs an array point as an inputed parameter. I don't know whether autoit has the ability to return the point address of an array as visual basic 6 has the varptr/strptr/objptr function to get the point of var/str/obj. Please save me!I think what you're after is DllStructGetPtr Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
firewzy Posted January 21, 2008 Author Share Posted January 21, 2008 I think what you're after is DllStructGetPtr No, it's not answer I want. Such as below: dim $temp[3] = [1, 2, 3]; I want to know how to get the point of the array as $temp. Link to comment Share on other sites More sharing options...
/dev/null Posted January 21, 2008 Share Posted January 21, 2008 No, it's not answer I want. Such as below: dim $temp[3] = [1, 2, 3]; I want to know how to get the point of the array as $temp. what's the "point" of an array ??? Maybe you just tell us the name of the function you are talking about and the parameter in question... Cheers Kurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
firewzy Posted January 22, 2008 Author Share Posted January 22, 2008 what's the "point" of an array ??? Maybe you just tell us the name of the function you are talking about and the parameter in question... Cheers Kurt The point I said means the address of an array as C/C++. In C/C++ such as below: -------------------------------------------------- int arrTest[3]={1,2,3}, *arrPtr=NULL; arrPtr = arrTest; --------------------------------------------------- Here the arrPtr variable is pointed to the first element of the array arrTest in C/C++. I don't know whether autoit has the function that returns a point or address of a variable such as the arrTest array. Cheers! Hope back! Link to comment Share on other sites More sharing options...
firewzy Posted January 22, 2008 Author Share Posted January 22, 2008 Please help me! Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 22, 2008 Share Posted January 22, 2008 Please help me!Martin tried, you weren't interested in the answer. AutoIt is an interpreted scripting language, not a compiled language. You don't normally have access to things at such a low level from a scripting language. One place you might come close is a DllStruct pointer. But you didn't care for that answer.If you need low-level access to memory that C++ has and AutoIt doesn't, then use C++ for your program. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
firewzy Posted January 22, 2008 Author Share Posted January 22, 2008 Martin tried, you weren't interested in the answer. AutoIt is an interpreted scripting language, not a compiled language. You don't normally have access to things at such a low level from a scripting language. One place you might come close is a DllStruct pointer. But you didn't care for that answer.If you need low-level access to memory that C++ has and AutoIt doesn't, then use C++ for your program. Thanks! 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