Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call this C# function from VFP 8.0
Message
From
09/08/2005 10:32:52
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01039530
Message ID:
01039543
Views:
18
Thanks Sergey.

I just installed .Net 1.1, and I need to study the article.
We also use web connection.

Thanks.


>See http://west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp
>
>>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();
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform