Hi
I used for the first time our component TMSWXQrCode, and I have a problem with the character " (double quote) [ASCII code 34].
As soon as this character is present, the QRcode becomes empty or does not change.
It occurs here :
function TControl.GetText: TCaption;
{$IF DEFINED(CLR)}
begin
Result := GetTextPiece(GetTextLen);
end;
{$ELSE}
var
Len: Integer;
begin
Len := GetTextLen;
SetString(Result, PChar(nil), Len);
if Len <> 0 then
begin
**Len := Len - GetTextBuf(PChar(Result), Len + 1);** // Len = 0
if Len > 0 then
SetLength(Result, Length(Result) - Len);
end;
end;
{$ENDIF}
With this character, the length of the string always equal 0; the result of "Len - GetTextBuf(PChar(Result), Len + 1);"
Is it normal ? because double-quote is a special character ?
kind regards
olivier