Einzelnen Beitrag anzeigen

EWeiss
(Gast)

n/a Beiträge
 
#10

Re: Installation DSPack unter Delphi 2006

  Alt 2. Okt 2006, 14:29
Ich habe mich jetzt mal an diese Anleitung gehalten.

Zitat:
You should insert the following code:

{$IFDEF VER180}
{$DEFINE COMPILER9}
{$IFDEF BCB}
{$DEFINE BCB9}
{$DEFINE CBUILDER}
{$ELSE}
{$DEFINE DELPHI9}
{$DEFINE DELPHI}
{$ENDIF}
{$ENDIF}

above

{$IFDEF VER170}
{$DEFINE COMPILER9}
{$IFDEF BCB}
{$DEFINE BCB9}
{$DEFINE CBUILDER}
{$ELSE}
{$DEFINE DELPHI9}
{$DEFINE DELPHI}
{$ENDIF}
{$ENDIF}

in the Jedi.inc file in the src\DirectX9 directory.

After that put the following line:

{$IFDEF VER180} DesignIntf, DesignEditors, {$ELSE}

on line 37 in the DSEditors.pas file (src\Dspack)

Then change on line 16774 of file BaseClass.pas the following

{$IFNDEF VER170}
Result := E_UNEXPECTED; // Delphi 7 and below -> undefined return value fix ...
{$ENDIF}

to

{$IFNDEF COMPILER9}
Result := E_UNEXPECTED; // Delphi 7 and below -> undefined return value fix ...
{$ENDIF}

Then it should work.
Nur eine line 16774 gibts nicht in der BassClass
Trotz Eintrag kommt gleiche Fehler wie im eröffnungs thread beschrieben.

Man sollte mal ne Anleitung dafür schreiben

gruß
  Mit Zitat antworten Zitat