Jump to content


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.
Photo

MSIHANDLE vs. MSIHANDLE


1 reply to this topic

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 01 May 2007 - 05:58

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
  ankur tyagi

antyagi

antyagi
  • Full Members
  • 121 posts

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.
  ankur tyagi