2019-02-16 11:05 PM - last edited on 2022-10-04 04:40 PM by Daniel Kassai
GS:: UniString str = 'something'; ACAPI_WriteReport ( "message is %s" , true, str ); // does not work. returns no conversion error.however, i can use str directly without a conversion if no format place holder is used. Is there a solution or a conversion?
Solved! Go to Solution.
2019-02-18 09:40 AM
poco2013 wrote:Use the ToCStr method of GS::UniString:
Is there a solution or a conversion?
GS::UniString str = "something"; ACAPI_WriteReport ("message is %s", true, str.ToCStr ().Get ());
2019-02-18 07:11 AM
GS::UniString successexport; successexport +="hello"; successexport +="world"; ACAPI_WriteReport(successexport,true);
2019-02-18 09:40 AM
poco2013 wrote:Use the ToCStr method of GS::UniString:
Is there a solution or a conversion?
GS::UniString str = "something"; ACAPI_WriteReport ("message is %s", true, str.ToCStr ().Get ());
2019-02-18 03:45 PM