Jump to content

Search the Community

Showing results for tags 'pointer'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • Forum
  • AutoIt


  • Community Calendar

Found 3 results

  1. 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 ($ghdismapi) in DISM.au3. On Windows 7, you will need Windows ADK to get DISM.) _DLLStructDisplay.au3 is only for debug. https://msdn.microsoft.com/de-de/library/windows/desktop/hh825837.aspx Misc.au3 _DLLStructDisplay.au3 DismConstants.au3 DismExample.au3 DISM.au3
  2. 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 MsgBox($MB_SYSTEMMODAL, "Word UDF: _Word_DocAttach Example", _ "Error creating a new Word application object." & @CRLF & "@error = " & @error & ", @extended = " & @extended) ; ***************************************************************************** ; Attach to the active doc ; ***************************************************************************** Local $oDoc = _Word_DocGet ( $oWord , 0 ) Local $oErrorHandler = ObjEvent("AutoIt.Error", "_ErrFunc") ;//position dialog relative to word insertion point (caret) $left = 0 $top = 0 $width = 0 $height = 0 $r = $oDoc.Application.Selection.Range $w = $oDoc.ActiveWindow $w.GetPoint( $left, $top, $width, $height, $r ); ConsoleWrite("left "&$left&" top "&$top&@CRLF) And I keep getting this error: New AutoIt v3 Script.au3 (27) : ==> COM Error intercepted ! err.number is: 0x800706F4 err.windescription: A null reference pointer was passed to the stub. err.description is: err.source is: err.helpfile is: err.helpcontext is: err.lastdllerror is: 0 err.scriptline is: 27 err.retcode is: 0x00000000 left 0 top 0How do I call it properly?
  3. I 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.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.