Ver Mensaje Individual
  #2  
Antiguo 17-02-2009
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is online now
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - España
Posts: 19.437
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Cita:
Empezado por dtomeysoto Ver Mensaje
... No se ha llamado a CoInitialize. y bueno ya aquí si me he parado porque no se que más hacer.
Pues llama a Coinitialize.

The CoInitialize function initializes the Component Object Model(COM) library. You must initialize the library before you can call its functions. Applications must call CoInitialize before they make any other COM library calls with two exceptions: the CoGetMalloc function, and memory allocation calls.


Código Delphi [-]
  CoInitialize(nil);

Me parece haber leído que los componentes ADO no son Thread-safe, así que para usar hilos deberías añadir tres componentes de conexión si es que estás utilizando TADOConnection. Puedes buscar más infoa al respecto.
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita