CRSQLConnection.pas(163): W1044 Suspicious typecast of WideString to PAnsiChar
Posted: Wed 30 May 2007 14:40
Hi,
I get a warning from BDS 2006 -> Delphi Win32 personality when I compile the unit CRSQLConnection.pas :
CRSQLConnection.pas(163): W1044 Suspicious typecast of WideString to PAnsiChar
if Params.Values[SRequiredFields] '' then
--> SQLConnection.SetOption(coRequiredFields, LongInt(PChar(Params.Values[SRequiredFields])));
Regards
Henrik Kehm
I get a warning from BDS 2006 -> Delphi Win32 personality when I compile the unit CRSQLConnection.pas :
CRSQLConnection.pas(163): W1044 Suspicious typecast of WideString to PAnsiChar
if Params.Values[SRequiredFields] '' then
--> SQLConnection.SetOption(coRequiredFields, LongInt(PChar(Params.Values[SRequiredFields])));
Regards
Henrik Kehm