Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with VFP DLL inside COM+...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00530717
Message ID:
00531279
Vues:
11
It Looks like your problem is not security to me, Is your Recordset Set to adUseClient ? Setting The package as a library package makes the component run on your machine not the remote machine so the recordset is created on your Machine. Using a Server package make the component run remotly, to return an Rs from a Server package you must set your Rs to adUseClient and make sure you close any connection before sending it back to the client.


>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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform