Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: Unkown name error under COM+
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00787371
Message ID:
00787439
Vues:
21
I just found a workaround, if all methods are in all servers, the calls work fine.

This is the new program for the COM server:
DEFINE CLASS ComServer1 AS MySession OLEPUBLIC

	PROCEDURE ReturnHello1() AS String
	RETURN "Hello-1-1"

ENDDEFINE

DEFINE CLASS ComServer2 AS MySession OLEPUBLIC

	PROCEDURE ReturnHello1() AS String
		RETURN "Hello-2-1"
	PROCEDURE ReturnHello2() AS String
		RETURN "Hello-2-2"

ENDDEFINE

DEFINE CLASS MySession AS Session 
	
	PROCEDURE ReturnHello1() AS String
	EndPRoc
	PROCEDURE ReturnHello2() AS String
	EndPRoc
	
EndDefine 
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform