Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Coloboración Paypal con ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #8  
Antiguo 04-02-2004
Gydba Gydba is offline
Miembro
 
Registrado: ene 2004
Ubicación: Argentina
Posts: 673
Poder: 23
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
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 15:27:09.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi