Installation Des Composants
Salut tt le monde . Comment je peux utiliser Un program d'Installtion pour Installer mes Composants directement aux IDEs , est ce que vous pouvez me guider SVP .
j'ai meme utilisé le tutoriel : http://sjames.developpez.com/InstallPackage/
j'ai reussi à installer les Packages mais le problem reside au Search Path .
j'ai suivi le tutoriel à la letter mais avec Delphi 7 ( (HKCU,'Software\Borland\Delphi\7.0' ) .
donc ce que j'ai fait :
==== BPL ====
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
function GetDPLOutput:string;
var
p: integer;
begin
RegQueryStringValue(HKCU, 'Software\Borland\Delphi\7.0\Library', 'Package DPL Output', BPLPath);
p := Pos('$(DELPHI)', BPLPath);
if p > 0 then
BPLPath := DelphiRoot + Copy(BPLPath, 10, Length(BPLPath) - 9);
result := BPLPath;
end;
end; |
============================
==== DCP ======
Code:
1 2 3 4 5 6 7 8 9 10 11 12
|
function GetDCPOutput:string;
var
p: integer;
begin
RegQueryStringValue(HKCU, 'Software\Borland\Delphi\7.0\Library', 'Package DCP Output', DCPPath);
p := Pos('$(DELPHI)', DCPPath);
if p > 0 then
DCPPath := DelphiRoot + Copy(DCPPath, 10, Length(DCPPath) - 9);
result := DCPPath;
end; |
============================
Merçi d'avance .
[Balises CODE rajoutées par Pedro. Merci d'y penser à l'avenir]