Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to find my DLL when creating object
Message
De
15/08/2007 17:51:45
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Unable to find my DLL when creating object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01248382
Message ID:
01248382
Vues:
71
Unable to find "EMPS_Out" is the error I'm getting. Everything is in the same directory and that is set as the default.

I am running this code from the Command Line:
ox = CREATEOBJECT( EMPS_Out.EMPS_Out_Class )
This is in the EMPS_Out.dll (with other stuff):
DEFINE CLASS EMPS_Out_Class AS SESSION OLEPUBLIC
	nNumber1 = 0
	nNumber2 = 0
	FUNCTION ADD(tnOne AS INTEGER, tnTwo AS INTEGER) AS INTEGER
	LOCAL lnResult
	WITH THIS
		IF PARAMETERS() = 2
			.nNumber1 = tnOne
			.nNumber2 = tnTwo
		ENDIF
		lnResult = .nNumber1 + .nNumber2
	ENDWITH
	RETURN lnResult
	ENDFUNC
	FUNCTION Multiply(tnOne AS INTEGER, tnTwo AS INTEGER) AS INTEGER
	LOCAL lnResult
	WITH THIS
		IF PARAMETERS() = 2
			.nNumber1 = tnOne
			.nNumber2 = tnTwo
		ENDIF
		lnResult = .nNumber1 + .nNumber2
	ENDWITH
	RETURN lnResult
	ENDFUNC
ENDDEFINE
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform