General information
Category:
COM/DCOM and OLE Automation
Hi,
I'm trying to create a webservice that will query a Fox table and return the results in a recordset back to VS.NET. I am using the VFPCOM utility to create a recordset When I run my code for my DLL (eventually my web service) everything works fine. When I compile the code into a DLL and call it from code I get "This OCX can only be hosted by Visual Foxpro". The code inside the program is this:
#DEFINE C_VFPCOMCLASS 'vfpcom.comutil'
oVFPCOM = CREATEOBJECT('VFPCOM.COMUTIL')
oRECORDSET = CREATEOBJECT('ADODB.RECORDSET')
nERROR = oVFPCOM.CURSORTORS(oRECORDSET, 'mycursor')
Any ideas on this issue or am I going about this function in totally the wrong direction? Any help would greatly be appreciated!!
Thanks in advance!
Tim
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only