Quote:
Originally Posted by esperanc
This returns an error code 11 (the number of chars in the string?).
xylog.XYP_SetXmlFileName(ur"C:\test.lrs")
|
Things I'd check:
1. Does that ur mean "16 bit character string with a 0 character at the end of the string?
2. Where did test.lrs come from? Are you using one of the sample projects provided by Sony? Is the path for the
required CThumbnail correct? I'm also pretty sure the LRS file has to be in UTF-16LE with the 16 bit marker character 0xfffe as the first character. I don't think it will eat UTF-8 even if that encoding is set in the XML marker e.g. 'encoding="UTF-8"?>' isn't respected.
3. If you can setup the MsgID and MsgWnd you might get better error messages.