Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a DLL from VFP for C#
Message
De
30/05/2012 21:08:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Divers
Thread ID:
01544521
Message ID:
01544886
Vues:
53
>See http://west-wind.com/articles.aspx, in particular Calling VFP COM components from .Net

Hi all ,
I read the article “Calling VFP COM components from .Net and ASP.Net” by Rick Strahl. In this, there is a paragraph:
First make sure the aspdemos namespace, which represents the imported COM object, is added to your class so that you can access the class. With the namespace and reference added our VFP class behaves just like any other .NET class including full access to Intellisense 
 It's important that you define your methods with proper Type information using VFP 7.0's parameter typing. 
FUNCTION IncCounter(lcCounter as String, lnSetValue as Integer) as Integer
I got this error with my DLL.
When I add my DLL into C# project, I get error message about namespace.
However, I use Class browser and cannot find where define function such as FUNCTION IncCounter(lcCounter as String, lnSetValue as Integer) as Integer.
How can I solve that error, please help me.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform