Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return recordset from DLL
Message
From
09/05/2007 11:38:19
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01223768
Message ID:
01223807
Views:
19
The easiest way is to use OLE DB to query SQL Server instead of ODBC. Doing the query that way will return an ADO Recordset to the DLL, which you can then just use as the RETURN value from the method.

>Hi !!
>
>We have created a DLL in VFP which is accessing SQL Database. We want to return the query result as recordset from the DLL.
>Anybody have an idea to return the ado recordset from the VFP built DLL.
>
>Thanks in advance
>Ravi Mehrotra
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform