Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using SDT with a VB application...possible?
Message
 
 
À
29/09/2004 12:13:55
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00947229
Message ID:
00947259
Vues:
13
>Greetings!
>
>I have a VB6/SP5 application which is using a VFP6/SP5 database. The data is accessed through a DNS-less connection using ADO. A couple of questions regarding using SDT in this scenario:
>
>1) Can I use SDT 5.1j for this database?
>2) Can I instantiate SDT's objects from a VFP6/SP5 DLL?
>3) Any suggestions on how I might accomplish this?

I do not see why not as long as you are compiling into the DLL only those SDT components that are licensed for distribution. The DLL would not be using ADO to access the data. It would open the DBC and tables natively. Now here's the quagmire. Before doing anything that requires exclusive use, you have to have some means of closing all the tables opened by your ADO connection. You also have the issue of the SDT UI which may be undesirable when performing some of the functions.

Since SDT has to have direct access to the DBC and tables, I would store the path and DBC name in an external text file or in the registry. Then have your DLL retrieve this information.

All of this should be fairly easy to test.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform