Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLConnect() not working from COM object
Message
De
01/09/2005 20:06:48
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01044667
Message ID:
01046073
Vues:
20
Hi Joel,

>Are you still using a vfp mtdll?
Yes, I am. Should I be using another approach?

>...there are various ways to get around the re-compile issue, from using just a stub dll or 'unloading' the app from a project hook so that it's all automatic..

With a MTDLL COM object, I run a .prg with the following code...
RUN /N IISRESET /restart
WAIT WINDOW "Resetting" TIMEOUT 4 && time needed to clear .dll from memory
BUILD MTDLL MyDll FROM MyDll

However, the above code does not work for a COM+ object, where I get a "File access denied..." message when the last line is executed.

Regards,
Alan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform