Peter,

That was exactly it, stupidly I missed that (it's monday) :)
Thanks

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Sent: Monday, February 25, 2013 3:05 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WcaGetProperty returning Invalid handle

The only thing I can think of right now is that WcaFinalize has been called
prematurely ?

-----Original Message-----
From: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Sent: 25 February 2013 14:41
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WcaGetProperty returning Invalid handle

Hi,

I am calling WcaGetProperty multiple times like so:

 

       hr = WcaGetProperty(L"ANALOG_INPUT",&szAnalogInput);

       ExitOnFailure(hr, "failed to get the number of channels");

       strcpy(szChannelInfo, "ANALOG_INPUT");

       ReadChannelInfo(hInstall, szChannelInfo, szAnalogInput);

 

       hr = WcaGetProperty(L"DIGITAL_INPUT",&szDigitalInput);

       ExitOnFailure(hr, "failed to get the number of channels");

       strcpy(szChannelInfo, "DIGITAL_INPUT");

       ReadChannelInfo(hInstall, szChannelInfo, szDigitalInput);

 

       hr = WcaGetProperty(L"ANALOGO_OUTPUT",&szAnalogOutput);

       ExitOnFailure(hr, "failed to get the number of channels");

       strcpy(szChannelInfo, "ANALOG_OUTPUT");

       ReadChannelInfo(hInstall, szChannelInfo, szAnalogOutput);

Although the first call works fine but the second one returns Invalid
Handle, I have no idea what is happening as I have done this before without
any problems. Any ideas?

 

Kind Regards,

 

Natalie Carr

 

----------------------------------------------------------------------------
-
-
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for
free
today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and
we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.


----------------------------------------------------------------------------
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for
free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to