In general, getting the reference to the COM+ Context object and using its methods makes your VFP COM object COM+ compatible. See the samples in Craig's articles.
>Right. >But what if I'd like to use VFP COM via COM+? What do I need to have in VFP code for that? > >>There's no COM+ involved. .NET creates class wrapper around VFP COM server so it can be used as any other .NET class. >> >>>But what I dont understand is what makes VFP code COM+ compitable? >>> >>>>Mark, >>>> >>>>Take a look at http://west-wind.com/presentations/VfpDotNetInterop/vfpDotNetInterop.htm and http://www.west-wind.com/presentations/VfpDotNetInterop/aspcominterop.asp >>>> >>>>>I am calling that component from a web service written in C# to update a few Fox tables. >>>>>
Nick Neklioudov Universal Thread Consultant 3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison