General information
Category:
COM/DCOM and OLE Automation
Hi Guys,
I have a COM which run under MTS. The COM is wirtten in VB6 and run fine if I also call it in the VB6 client. But when I what to call this COM in VFP, it give me ole error 0x800706d3:authentication serivce is unknown.
My COM:
Public Sub GetCustomer( prsCustomer as ADODB.Recordset)
--- select * from customer and return a disconnected recordset to the caller.
end sub
In VFP
oRS = CreateObject("ADODB.Recordset")
oOle = CreateObject("Bll_Customer.clsCustomer")
?oOle.GetCustomer(@oRS) -> Ole error occurs!!!
But If I call other function in the COM that don't need a ADO recordset as parameter, everything is fine. Got any ideal?
Best Regards,
Jonathan
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