When interoping with Windows Installers MSIHANDLE (defined as unsigned long, i.e. a 32 bit value), I cannot use SafeHandle derived classes since they become 64-bit on x64.
How do I create a MsiSafeHandle class that captures the value of the method in the following example even in case of asynchronous exceptions
__in LPCTSTR szPackagePath,
__out MSIHANDLE *hProduct
View Complete Post