Consulting

Results 1 to 2 of 2

Thread: 64-bit + legacy compatibility

  1. #1

    64-bit + legacy compatibility

    The time has come (without going into specifics) where I need to be supporting 64-bit Office, but also need to maintain compatibility back to Office 2003.

    Changing API declarations for Win32 libraries is straightforward, as is regular variable declaration within a procedure by using conditional compilation.. But what about declaring variables in the parameters of a function?

    ie

    Public Function MyFunction (lngLong1 as LongPtr, lngLong2 as LongPt)
    <some code>
    some.thing=lngLong1
    something.else=lngLong2
    <some code>
    End Function

    That will work fine on Office '10, but I have no option but to support Office 2003 (clients). How do I convert that to conditionally compile?

  2. #2
    Have put this somewhere more relevant.. Didn't actually mean to post in PPT!

    http://www.vbaexpress.com/forum/show...146#post278146

Posting Permissions

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