Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unknown name
Message
De
05/03/2003 13:18:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00761644
Message ID:
00761652
Vues:
36
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() && Getting the error here randomly
>	Catch to loErr
>		? "Error at :" + alltrim(str(i)) + loErr.Message
>	EndTry
>	
>	ox= null
>
>EndFor
>
>
>Anyone ever experience this?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform