I am developing an application on Visual Foxpro 7. I would like to inculde
some .NET functions in it.
For this purpose I have created a dll in VC++ .net using managed c++. I have
written all the code in the .h file. What should I write in the .cpp file to
enable me to use the file like the mfc dll??

Signature
Rgds,
Rachel
Ioannis Vranos - 28 May 2005 14:58 GMT
> I am developing an application on Visual Foxpro 7. I would like to inculde
> some .NET functions in it.
> For this purpose I have created a dll in VC++ .net using managed c++. I have
> written all the code in the .h file. What should I write in the .cpp file to
> enable me to use the file like the mfc dll??
Does Visual Foxpro 7 support .NET? If yes, a managed dll is a different thing than an MFC dll.
To use a managed dll written in any language inside VC++ 2002/2003, we use the statement:
#using "whatever.dll"
Christian Ehlscheid - 29 May 2005 14:09 GMT
Hello,
FoxPro doesn't integrate with Net directly ..
you'll have to use COM interop
there is tool shipped with VS Net called "tlbexp.exe" which can create a COM
typelibrary out of an assembly ..
see:
http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_fxinte
rop/html/3a37eefb-a76c-4000-9080-7dbbf66a4896.asp
Regards
Christian
> I am developing an application on Visual Foxpro 7. I would like to inculde
> some .NET functions in it.
> For this purpose I have created a dll in VC++ .net using managed c++. I have
> written all the code in the .h file. What should I write in the .cpp file to
> enable me to use the file like the mfc dll??