Results 1 to 14 of 14

Thread: Declare function no longer works

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,446
    Location
    <p>
    Quote Originally Posted by Paul_Hossler View Post
    Agreed, but I think it also works with 32 bit office https://docs.microsoft.com/en-us/off...6)%26rd%3Dtrue
    That would suggest that we should just declare every long as LongPtr, 32bit or 64bit, and the conditional code is only necessary for PtrSafe? Might explain why it works when I have declared a non-handle variable as LongPtr.</p>
    Last edited by Paul_Hossler; 02-17-2022 at 11:13 AM.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •