[firebase-br] Registry
    Mariana 
    mariana em alternate.com.br
       
    Seg Jun  6 17:02:08 -03 2005
    
    
  
Pessoal...
Estou usando no uses do Delphi "Registry" para encontrar a versão corrente do Interbase.
Eu gostaria de saber se pode me calsar algum problema quando estiver instalado na máquina apenas o client do Interbase.
Será que alguém pode me ajudar?
A rotina que estou utilizando é a seguinte:
   Registro         := TRegistry.Create;
   Registro.RootKey := HKEY_LOCAL_MACHINE;
   try
      Registro.RootKey := HKEY_LOCAL_MACHINE;
      if Registro.KeyExists('Software\Borland\InterBase\CurrentVersion') then
         begin
            Registro.OpenKey('Software\Borland\InterBase\CurrentVersion',False);
            EnderecoServ := Registro.ReadString('RootDirectory')+'Bin\';
         end;
   finally
      Registro.CloseKey;
      Registro.Free;
   end;
Grata
Mariana
    
    
Mais detalhes sobre a lista de discussão lista