Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a DLL from VFP for C#
Message
From
30/05/2012 21:08:48
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Miscellaneous
Thread ID:
01544521
Message ID:
01544886
Views:
51
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform