Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion VC++ Custom Action Code

View parsed - Show only message text

From: "Phil Wilson" <Phil.Wil...@unisys.spamcom>
References: <#poVdaXiEHA.3264@tk2msftngp13.phx.gbl> <eLfqcrXiEHA.1644@tk2msftngp13.phx.gbl> <OJRXyldiEHA.3536@TK2MSFTNGP12.phx.gbl>
Subject: Re: VC++ Custom Action Code
Date: Tue, 24 Aug 2004 10:58:06 -0700
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.181
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Message-ID: <#$ZppPgiEHA.2992@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.platformsdk.msi
NNTP-Posting-Host: 192.59.247.139
Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl

Try including <msiquery.h> - this contains an include of msi.h so you don't
need both.
-- 
Phil Wilson [MVP Windows Installer]
----
"Alero" <ale...@magnum-bank.com> wrote in message
news:OJRXyldiEHA.3536@TK2MSFTNGP12.phx.gbl...
> Thanks. But any time I try to use any of the MSI API calls in code I get
> compiler erors.
>
> eg I try
> MsiProcessMessage(hInstall, INSTALLMESSAGE(INSTALLMESSAGE_INFO),
newHandle);
>
> ...and I get
>
> error C2664: 'MsiProcessMessage' : cannot convert parameter 2 from 'enum
> tagINSTALLMESSAGE' to 'enum tagMSIMESSAGE'
>         Conversion to enumeration type requires an explicit cast
> (static_cast, C-style cast or function-style cast)
>
> I've already installed the MSI SDK/ Platform SDK (Feb 2003), and
>  added the \include\ and \lib\ directories to the Visual Studio path, but
no
> joy.
>
> Thanks
>
>
> "Phil Wilson" <pdjwil...@nospam.cox.net> wrote in message
> news:eLfqcrXiEHA.1644@tk2msftngp13.phx.gbl...
> > Coding example here:
> > http://support.microsoft.com/default.aspx?scid=kb;en-us;253683
> > -- 
> > Phil Wilson
> > [MVP Windows Installer]
> > Definitive Guide to Windows Installer
> >
>
http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-4696760
>
>



Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google