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 IntegerI 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.