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