You have a computer that is running a 64-bit edition of Windows 7 or Windows Server 2008 R2. You run a 32-bit version of an application that uses the QueryPathOfRegTypeLib function to retrieve the path of a registered type library. However, the QueryPathOfRegTypeLib function does not return the correct path. The path of the 64-bit version of the type library is returned instead of the path of the 32-bit of the type library.
For sample code to reproduce this issue, see the "More information" section.
For sample code to reproduce this issue, see the "More information" section.