Search the Community
Showing results for tags 'pointer'.
Found 5 results
welcome I need help dealing with a C++ DLL Specify that I need help with how to use this function struct libusb_device; typedef struct libusb_context libusb_context; ssize_t LIBUSB_CALL libusb_get_device_list(libusb_context *ctx,libusb_device ***list); My problem is how to deal with "libusb_device ***list" my code $libusb_device = DllStructCreate("PTR") Func libusb_init() $Var = DllCall($libusb0, "ptr", "libusb_init",'ptr',$_libusb_device_handle_Ptr) If @error Then Return False Return $Var EndFunc Func libus
User Function Address Pointer
Rabu posted a topic in AutoIt General Help and SupportI want to use the winsock overlapped/completion routine method of i/o, but how do I get the pointer to my user function. I know it is possible because when using the old method of windows messages, the user function name was used instead of a pointer.
Hey, i'm working with a dll which comes with Windows 10 (Pro x64) called dismapi.dll, which is located under C:\Windows\system32\dismapi.dll. I tested some of it's functions with my compiled script on Windows 10 (x86) and it worked properly, but when i run my script on my x64 system with directive set, it doesn't work anymore (AutoIT breaks on line 1255 in DISM.au3). Without this directive it works. Is there something i have to change to get it work? Thanks for help...(You can use my attach. If you use WIndows 10, it will work directly, on Windows 8 you might have to adjust the dism api path
My end goal is to get the caret position in microsoft word and turn it into an absolute x/y screen coordinate. I'm trying to turn some code from C++ to autoit, found here https://groups.google.com/d/msg/microsoft.public.word.vba.general/pKq4PsqD3cM/yDukAS5Bk3cJ And I'm stuck when trying to call.Window.GetPoint Method (Word) https://msdn.microsoft.com/EN-US/library/office/ff836626.aspx I tried calling it like this: #include <MsgBoxConstants.au3> #include <Word.au3> #include <Array.au3> ; Create application object Local $oWord = _Word_Create() If @error Then Exit MsgB
Can't find Base Pointer
Loken posted a topic in AutoIt General Help and SupportI am searched in CE Forum and Google but i could not find any solution.I am waiting your helps. EAX=0002D3C0 EBX=00000001 ECX=085D0000 EDX=138EF288 ESI=000000C0 EDI=138EF000 EBP=00000007 ESP=0053EA0C EIP=684F29C5 Probable base pointer =085D0000 684F29BD - add eax,eax 684F29BF - add eax,eax 684F29C1 - cmp [ecx+eax+04],ebx 684F29C5 - jna NPSWF32_11_2_202_233.dll+4229A4 684F29C7 - mov edx,[esp+14] Problem was : [ecx+eax+04] which is my offset ? and is this last pointer ? If this is the last pointer , why it isn't green ? Thanks to AutoIT Forum. Sorry for my bad expression.