Hola amigos.
Me compre el Delphi 2010, lo instale pero al cargar un proyecto hecho en Delphi 7, me da errores de incompatibilidad de array y PWideChar y varios errores mas.
Ejemplo aca alguno de los errores:
Código Delphi
[-]
function StrRetToString(PIDL: PItemIDList; StrRet: TStrRet; Flag:string=''): string;
var
P: PChar;
begin
case StrRet.uType of
STRRET_CSTR:
SetString(Result, StrRet.cStr, lStrLen(StrRet.cStr));
STRRET_OFFSET:
begin
P := @PIDL.mkid.abID[StrRet.uOffset - SizeOf(PIDL.mkid.cb)];
SetString(Result, P, PIDL.mkid.cb - StrRet.uOffset);
end;
STRRET_WSTR:
if Assigned(StrRet.pOleStr) then
Result := StrRet.pOleStr
else
Result := '';
end;
E2010 Incompatible type array and PWideChar
Mi pregunta es habria alguna forma de activar o desactivar alguna opcion del compilador para que compile el proyecto como con Delphi 7, sin error alguno y no tener que modificar un proyecto de 50,000 lineas de codigo que es mucho.