Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call this C# function from VFP 8.0
Message
De
09/08/2005 09:46:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
How to call this C# function from VFP 8.0
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01039530
Message ID:
01039530
Vues:
101
Hi, I am trying to use a C# function assembled in a DLL, it was provided by another company but I get this error "Cannot find entry point".

I am trying this code:
DECLARE integer getCheckDigit IN ValidacionClaveSecreta.dll
? getCheckDigit("001123456789")
Or should I use CreateObject() ?


Please any one could tell me how to do it.
This function receives a string of digits and returns an integer (Check Digit)

I already registered the DLL (ValidacionClaveSecreta.DLL) under .Net Configuration 1.1 but I don't know how to invoke it from VFP

Only a member is exposed, the public function CheckDigitGeneration()
The company explains this C# sample code:


CheckDigitGeneration objCheckDigit = new
CheckDigitGeneration(txtClave.Text);

lblCheckDigit.Text = objCheckDigit.getCheckDigit().ToString();



Thanks,

Juan C.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform