Ver Mensaje Individual
  #4  
Antiguo 26-12-2006
Robert01 Robert01 is offline
Miembro
 
Registrado: feb 2006
Ubicación: Córdoba, Argentina
Posts: 895
Reputación: 19
Robert01 Va por buen camino
porque no pruebas así:

Código Delphi [-]
  libhand := LoadLibrary('mydll.dll');
    if libhand = 0 then begin
        ShowMessage ('DLL no disponible');
    end
    else begin
      @DisplayModalForm := GetProcAddress(libhand, 'DisplayModalForm');
      if @DisplayModalForm = nil then begin
          { function no found. misspelled? }
           ShowMessage ('función no encontrada, ¿llamada erronea?');
      end
      else begin
         { call the function as usually }
        result := integer(DisplayModalForm(Pchar(AstrFormulario),VarrIdiomas, AintIdioma));
      end;
    end;
    FreeLibrary(libhand);
Responder Con Cita