Ver Mensaje Individual
  #7  
Antiguo 22-09-2005
Avatar de dec
dec dec is offline
Moderador
 
Registrado: dic 2004
Ubicación: Alcobendas, Madrid, España
Posts: 13.142
Reputación: 36
dec Tiene un aura espectaculardec Tiene un aura espectacular
Hola,

Tal vez podrías hacer uso de esta o una función parecida para averiguar si cuentas con determinada librería o, mejor dicho, si una determinada librería cuenta con una función en concreto:

Código Delphi [-]
 function ExisteFuncion(const dll,
   funcion: string) : boolean;
 var
   aDll: THandle;
 begin
   Result := false;
   if LoadLibrary(PChar(dll)) = 0 then
     Exit;
   aDll := GetModuleHandle(PChar(dll));
   if aDll <> 0 then
     Result := GetProcAddress(aDll,
       PChar(funcion)) <> nil;
 end;
__________________
David Esperalta
www.decsoftutils.com
Responder Con Cita