Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLConnect() not working from COM object
Message
From
01/09/2005 20:06:48
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01044667
Message ID:
01046073
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform