Craig,
Thanks for your reply, but i do use CreateObjectEx For all my client calls to my COM+ components, i find it much easier than installing a proxy on every client machines. I've been coding CreateObjectEx for about 3 years now and it always worked great.
The problem is not the object creation, it is created fine. The problem is after lets say 500 loops (it is random) i get a error when calling the method (Not when creating the object) after the error it will continue the loop fine.
>You've got some things setup wrong. You don't do a CreateobjectEx for a COM+ component. Look at my COM+ articles on the MSDN web site for more information on how to do the install and call the COM+ component. I don't know if the CreateobjectEx is causing your problem or not, but you should start with correcting that code.
>
>
>>I have a VFP8 MTDLL on COM+ and randomly after createObjectEx of it i get an "OLE error code 0x80020006: Unknown name" error when calling a method that exists. I will try to create a repro but it's difficult since it seems to only append on multi-processor machine.
>>
>>Here's a bit what i'm doing to reproduce:
>>
>>Local ox, i, loErr
>>
>>For i = 1 to 1000
>>
>> ox=CreateObjectex("{DE31CA37-316F-44B4-AEE6-BA54A30F1F9D}", "192.168.199.102")
>> try
>> =ox.getSystemBatch()
>> Catch to loErr
>> ? "Error at :" + alltrim(str(i)) + loErr.Message
>> EndTry
>>
>> ox= null
>>
>>EndFor
>>
>>
>>Anyone ever experience this?