Ver Mensaje Individual
  #8  
Antiguo 04-02-2004
Gydba Gydba is offline
Miembro
 
Registrado: ene 2004
Ubicación: Argentina
Posts: 673
Reputación: 21
Gydba Va por buen camino
Encontré este texto por inet, en una de esas te aclara algo:
Cita:
From the readme.txt with Delphi 4

"COM/ActiveX initialization
--------------------------
The placement of COM/ActiveX initialization in Delphi
has changed in this version. Prior versions initialized
COM (through CoInitialize) in the initialization
section of the ComObj unit. COM initialization is now
accomplished during the call to Application.Initialize.
Therefore, COM applications that do not call
Application.Initialize must be changed so that it is
called prior to any calls to COM runtime or interface
methods. Likewise, calls to COM functions or interface
methods in unit initialization sections must be changed
to hook into Application.Initialize. This is only
necessary in .exe projects, not .DLL (library)
projects."
Tendrías que probar algo como:
Código:
try 
  CoInitialize(nil) 
  Application.Initialize; 
  ... 
  Application.Run; 
finally 
  CoUnInitialize; 
end;
Nada de esto lo probé porque no tengo delphi donde estoy
__________________
Suerte
.: Gydba :.
Responder Con Cita