The call operation fails with error code "0x800706f7" when you run an application that calls the OleCreateFromFile() function to create an embedded object from the contents of a named file in a 64-bit version of Windows Vista or Windows 7

Applies To
Windows Vista Enterprise 64-bit Edition Windows Vista Home Basic 64-bit Edition Windows Vista Home Premium 64-bit Edition Windows Vista Ultimate 64-bit Edition Windows Vista Business 64-bit Edition Windows 7 Enterprise Windows 7 Home Basic Windows 7 Home Premium Windows 7 Professional Windows 7 Ultimate

Symptoms

Consider the following scenario:

  • You have a computer that is running a 64-bit version of Windows Vista or Windows 7.
  • You run an application that calls the OleCreateFromFile() function to create an embedded object from the contents of a named file on the computer.

In this scenario, the call operation may fail and return the "0x800706f7" error code.

Note This issue occurs if the OLE server is 32-bit.

Cause

This issue occurs because of an error in the OLE32.dll component.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem that is described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http:⁠//support.microsoft.com/contactus/?ws=support Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:

  • Windows Vista Service Pack 1 (SP1)
  • Windows Vista Service Pack 2 (SP2)
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)

For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:

935791 How to obtain the latest Windows Vista service pack

For more information about how to obtain a Windows 7 or a Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To use the hotfix, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows Vista file information notes

Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.

    Version Product SR_Level Service branch
    6.0.600
    1.
    22xxx
    Windows Vista SP1 LDR
    6.0.600
    2.
    22xxx
    Windows Vista SP2 LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are very important to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x64-based versions of Windows Vista

File name File version File size Date Time Platform
Ole32.dll 6.0.6001.22792 1,922,560 08-Nov-2010 20:32 x64
Ole32.dll 6.0.6002.22520 1,916,928 08-Nov-2010 22:56 x64
Ole32.dll 6.0.6001.22792 1,315,840 08-Nov-2010 19:26 x86
Ole32.dll 6.0.6002.22520 1,317,376 08-Nov-2010 21:37 x86

Windows 7 file information notes

Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.

    Version Product SR_Level Service branch
    6.1.760
    0.
    16xxx
    Windows 7 and Windows Server 2008 R2 RTM GDR
    6.1.760
    0.
    20xxx
    Windows 7 and Windows Server 2008 R2 RTM LDR
    6.1.760
    1.
    17xxx
    Windows 7 and Windows Server 2008 R2 SP1 GDR
    6.1.760
    1.
    21xxx
    Windows 7 and Windows Server 2008 R2 SP1 LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x64-based versions of Windows 7

File name File version File size Date Time Platform
Ole32.dll 6.1.7600.20861 2,085,376 18-Dec-2010 06:09 x64
Ole32.dll 6.1.7601.21624 2,087,424 18-Dec-2010 08:51 x64
Ole32.dll 6.1.7600.20861 1,414,144 18-Dec-2010 05:30 x86
Ole32.dll 6.1.7601.21624 1,414,656 18-Dec-2010 07:57 x86

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

To reproduce the problem, follow these steps:

  1. Install a 32-bit version of Adobe Acrobat Reader.
  2. Open a 64-bit version of WordPad.
  3. Click Insert Object.
  4. Select the Create from File option.
  5. Locate and select a PDF file, and then click Open.
  6. In the Insert Object dialog box, click Ok.

You expect that the PDF file will be embedded in the WordPad document. However, WordPad instead returns the following error message:

Note

Failed to create object. Make sure the application is entered in the system registry.

For more information about the OleCreateFromFile function, visit the following Microsoft website:

General information about the OleCreateFromFile function For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684
        
  Description of the standard terminology that is used to describe Microsoft software updates

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Additional file information

Additional file information for Windows Vista

Additional files for all supported x64-based versions of Windows Vista

File name Amd64_355b273398b00d635f5c3894e610dd2c_31bf3856ad364e35_6.0.6001.22792_none_1245ff316ce9c9e8.manifest
File version Not applicable
File size 1,060
Date (UTC) 09-Nov-2010
Time (UTC) 03:52
Platform Not applicable
File name Amd64_4223e07730bc63365e3f0e1e1a428f35_31bf3856ad364e35_6.0.6001.22792_none_79490102c63f5d1a.manifest
File version Not applicable
File size 710
Date (UTC) 09-Nov-2010
Time (UTC) 03:52
Platform Not applicable
File name Amd64_b95ca2615e8dfb7a5fab8e75d7501a38_31bf3856ad364e35_6.0.6002.22520_none_9bc6b23f4be94233.manifest
File version Not applicable
File size 1,060
Date (UTC) 09-Nov-2010
Time (UTC) 03:52
Platform Not applicable
File name Amd64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.0.6001.22792_none_08669c56c4138e95.manifest
File version Not applicable
File size 8,892
Date (UTC) 08-Nov-2010
Time (UTC) 20:45
Platform Not applicable
File name Amd64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.0.6002.22520_none_0a96bf04c102ea9b.manifest
File version Not applicable
File size 8,892
Date (UTC) 08-Nov-2010
Time (UTC) 23:11
Platform Not applicable
File name X86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.0.6001.22792_none_ac4800d30bb61d5f.manifest
File version Not applicable
File size 8,846
Date (UTC) 08-Nov-2010
Time (UTC) 19:47
Platform Not applicable
File name X86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.0.6002.22520_none_ae78238108a57965.manifest
File version Not applicable
File size 8,846
Date (UTC) 08-Nov-2010
Time (UTC) 21:54
Platform Not applicable

Additional file information for Windows 7

Additional files for all supported x64-based versions of Windows 7

File name Amd64_7e598d58f0488866b1b423709822ec77_31bf3856ad364e35_6.1.7600.20861_none_06829256f7edbfa9.manifest
File version Not Applicable
File size 1,060
Date (UTC) 20-Dec-2010
Time (UTC) 21:52
Platform Not Applicable
File name Amd64_bcf8a893e7e580c100bc2fdbc8687e23_31bf3856ad364e35_6.1.7601.21624_none_ea01708c72dbd89a.manifest
File version Not Applicable
File size 1,060
Date (UTC) 20-Dec-2010
Time (UTC) 21:52
Platform Not Applicable
File name Amd64_c7757be375b80cf5e4d2d9b4508bd313_31bf3856ad364e35_6.1.7600.20861_none_c09abbf3a6fe1bb5.manifest
File version Not Applicable
File size 710
Date (UTC) 20-Dec-2010
Time (UTC) 21:52
Platform Not Applicable
File name Amd64_d9f80b4143bb7b0c8a112b93e794ce93_31bf3856ad364e35_6.1.7601.21624_none_bad8cb56ad511056.manifest
File version Not Applicable
File size 710
Date (UTC) 20-Dec-2010
Time (UTC) 21:52
Platform Not Applicable
File name Amd64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.20861_none_08addc1625135e53.manifest
File version Not Applicable
File size 2,472
Date (UTC) 18-Dec-2010
Time (UTC) 06:49
Platform Not Applicable
File name Amd64_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.21624_none_0ac279aa2216a680.manifest
File version Not Applicable
File size 2,472
Date (UTC) 18-Dec-2010
Time (UTC) 09:21
Platform Not Applicable
File name Update.mum
File version Not Applicable
File size 3,215
Date (UTC) 20-Dec-2010
Time (UTC) 21:52
Platform Not Applicable
File name X86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7600.20861_none_ac8f40926cb5ed1d.manifest
File version Not Applicable
File size 2,468
Date (UTC) 18-Dec-2010
Time (UTC) 05:55
Platform Not Applicable
File name X86_microsoft-windows-com-base-qfe-ole32_31bf3856ad364e35_6.1.7601.21624_none_aea3de2669b9354a.manifest
File version Not Applicable
File size 2,468
Date (UTC) 18-Dec-2010
Time (UTC) 08:28
Platform Not Applicable