Office 2010 Help Files: Win32API_PtrSafe with 64-bit Support

Article ID: 2030490 - View products that this article applies to.
Expand all | Collapse all

SUMMARY

The file Win32_PtrSafe.txt contains Windows API Declarations and Constants for Visual Basic (Updated for the 64-bit version of Microsoft Office 2010) provides declarations for Microsoft Visual Basic programmers who want to call Windows API routines. This file updates and replaces Win32API.txt to include calls to the 64-bit version of Microsoft Office 2010.

MORE INFORMATION

Versions of Microsoft® Office and Microsoft Visual Basic® for Applications (VBA) prior to Microsoft Office 2010 and Visual Basic for Applications 7.0 (VBA 7) included the file, Win32API.txt, which facilitated making calls to the Microsoft Windows API. With the addition of 64-bit support in Microsoft Office 2010, an update to this file is needed to support 64-bit API calls. Win32API_PtrSafe.txt is a new version of Win32API.txt that supports API calls on both 32-bit and 64-bit versions of Windows.

Win32API_PtrSafe.txt contains the following:

·         32-bit (x86) and 64-bit (x64) compatible Declare statements for the Windows API functions that were included in the original Win32API.txt file.

·         Global constant declarations for the constants that the provided Declare statements use.

·         Type declarations for the user-defined types (structures) that the provided Declare statements use.

You can download Win32API_PtrSafe.txt by accessing the file Office2010Win32API_PtrSafe.exe  from the web page at Office 2010 Help Files: Win32API_PtrSafe with 64-bit Support.

The instructions of installing this download are included on the web page at the link above, or by pasting the following address in your browser:

http://www.microsoft.com/downloads/details.aspx?FamilyID=035b72a5-eef9-4baf-8dbc-63fbd2dd982b&displaylang=en

The download “Office2010Win32API_PtrSafe.exe” installs “Win32API_PtrSafe.txt”, “Using Win32API_PtrSave.xps” and “UsingWin32API_PtrSafe.docx.”  The latter two files contain important information about using the contents of Win32API_PtrSafe.txt when writing VBA code.

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591  How to Obtain Microsoft Support Files from Online Services
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2030490 - Last Review: August 4, 2010 - Revision: 2.0
APPLIES TO
  • Microsoft Office Professional Academic 2010
  • Microsoft Office Professional 2010
  • Microsoft Office Professional Plus 2010
  • Microsoft Office Standard 2010
  • Microsoft Office Enterprise 2007
Keywords: 
kbfunctions helppartner kbhelp kbhelpdesk kbhelpfile KB2030490

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com