LPWSTR is already a wchar_t *, so LPWSTR is a wchar_t **. Hence it is complaining that it cannot convert a wchar_t ** to a wchar_t *, which makes sense. It seems to me that you need to change your "LPWSTR *" type to just "const LPWSTR", or do you not have control over that data type?
Dan -----Original Message----- From: Kevin Hebert [mailto:ke...@legendary-immersion.com] Sent: November-28-11 4:56 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Action to verify input I've got everything linked properly. However, I'm now getting can't convert LPWSTR * to const wchar_t * on the following section of code: if(wcslen(userName) == 0) { hr = WcaSetProperty(L"UserInfoError", L"Please enter your name."); WcaLog(LOGMSG_VERBOSE, "Please enter your name."); } else if(wcslen(email) == 0) { hr = WcaSetProperty(L"UserInfoError", L"Please enter your email address."); WcaLog(LOGMSG_VERBOSE, "Please enter your email address."); } ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users