You did call WcaInitialize before calling WcaAddTempRecord, right?

-----Original Message-----
From: David Battey [mailto:dbat...@phoenixcon.com] 
Sent: Wednesday, October 21, 2009 10:02 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] E_HANDLE returned from WcaAddTempRecord

When I run this in an immediate CA in the InstallUISequence

        HRESULT hr = S_OK;
        MSIHANDLE hTable = NULL;
        MSIHANDLE hColumns = NULL;
        MSIDBERROR error;

        hr = WcaAddTempRecord(&hTable, &hColumns, L"ListBox", &error, 0, 
4, L"PROPERTYNAME", 1, L"0", L"Value");

I get an hr of E_HANDLE, error is not getting set, and GetLastError() 
returns 1008 (ERROR_NO_TOKEN). I've tried it in a few different places in 
the sequence, and get the same result.

 Does anyone have any idea what might be causing this?

Thanks,
David


David E. Battey
Senior Software Engineer
Phoenix Contact Inc.
(734) 205-5119
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to