Delphi-Quellcode:
Function AnsiToConCP(
Const AString:
String):
String;
Var
lResult:
String;
Begin
SetLength(lResult, Length(AString));
{$IFDEF WIN32}
CharToOEM(PChar(AString), PChar(lResult));
{32Bit}
{$ELSE}
AnsiToOEM(PChar(@AString[1]), PChar(@lResult[1]));
{16Bit}
{$ENDIF}
Result := lResult;
End;
Vor der Ausgabe durch diese Routine jagen...