Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with VFP DLL inside COM+...
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Problem with VFP DLL inside COM+...
Divers
Thread ID:
00530717
Message ID:
00530717
Vues:
56
Hi,

I Write a DLL in VFP 6 SP3, which returns ADO 2.6 Recordsets. Calling a method to obtain the data in " normal " form it works correctly. Then registry the DLL in COM+, and ALWAYS recordset returns empty (when normally it brings several data). Playing with the configuration of the package, it change to Application of Library (which creates the objects within the process of that executes it) and works! The great disadvantage is that in that way does not serve to me, because I require that it is executed within the server, since the idea to use COM+ is of being able to use the DLL and to execute it from several equipment...

I believe that the problem is with cross of the objects between processes... but as I solve it? VFP does not allow me configure the DLL of any way... and not debug...

*-- Original

Escribi una DLL en VFP 6 SP3, la cual retorna ADO 2.6 Recordsets. Llamando el metodo de obtener los datos en forma "normal" funciona correctamente. Entonces registro la DLL en COM+, y SIEMPRE el recordset se retorna vacio (cuando normalmente trae varios datos). Jugando con la configuración del paquete, lo cambio a Aplicacion de Biblioteca (el cual crea los objetos dentro del proceso de quien la ejecuta) y funciona!

El gran inconveniente es que asi no me sirve, porque requiero que se ejecute dentro del servidor, ya que la idea de usar COM+ es de poder utilizar la DLL y ejecutarla desde varios equipos...

Creo que el problema es con el transpaso de los objetos entre procesos... pero como lo soluciono? VFP no me permite configurar la DLL de ninguna manera...
The Life is Beautiful!

Programmer in
Delphi, VS.NET
MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform