Ver Mensaje Individual
  #3  
Antiguo 22-06-2005
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 30
jachguate Va por buen camino
Hola mRoman. Te recomiendo aprender a usar la etiqueta [ code ], [ delphi ], etc. para publicar trozos de código, ya que sin ellas es muy dificil de leer dado que pierde la indentación.

Cita:
Empezado por Win32 Developers Reference
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.
En otras palabras, falta llamar a coInitialize(nil) antes de iniciar y luego llamar a CoUninitialize; después de terminar.

Para mas información consultá el Win32 Developer's reference del SDK de windows (instalado en le menú Help de tu instalación de delphi).

Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita