What is the difference between MSIHANDLE passed to a DLL Custom Action and MSIHANDLE fetched by MsiGetActiveDatabase.
How these two are different?
thank you,
ankur tyagi
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
MSIHANDLE vs. MSIHANDLE
Started by
antyagi
, May 01 2007 05:58
1 reply to this topic
Posted 10 May 2007 - 13:11
No one.. Hmm ok.
Actually I had this question because MSDN says MsiGetActiveDatabase function accepts handle provided to a DLL custom action and returns the handle to active database for the installation.
And I still dont' know the difference between two.
But one thing is sure that MsiDatabaseOpenView failed in my code when I passed the handle provided to a DLL custom action, but it worked when I passed the output of MsiGetActiveDatabase.
Actually I had this question because MSDN says MsiGetActiveDatabase function accepts handle provided to a DLL custom action and returns the handle to active database for the installation.
And I still dont' know the difference between two.
But one thing is sure that MsiDatabaseOpenView failed in my code when I passed the handle provided to a DLL custom action, but it worked when I passed the output of MsiGetActiveDatabase.
ankur tyagi