<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Some clients are receiving the above message in my 
app.</FONT></DIV>
<DIV><FONT face=Arial size=2>A google search finds the exact same 
message/address in other applications but doesn't offer a solution.&nbsp; It 
could be related to this function.&nbsp; Can anyone see&nbsp;anything wrong with 
this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>function LCase(Ch: Char): Char;<BR>begin<BR>&nbsp; 
Result := Char(CharLower(Pointer(Ch)));<BR>end;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>CharLower accepts an ascii&nbsp;character 
<STRONG>or</STRONG> an address of a string (pChar).&nbsp; The Delphi compiler 
only recognises a pChar for the parameter and doesn't accept a character, so 
Pointer(Ch) gets around this.&nbsp; It works fine here during testing, but it's 
something I modified recently so I thought I had better&nbsp;check it out with 
you experts.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm doing this to lowercase portions of a string, 
and CharLower&nbsp;takes into account the windows locale for foreign 
languages.&nbsp; </FONT><FONT face=Arial size=2></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ross.</FONT></DIV></BODY></HTML>