Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2005

Tip: Looking for answers? Try searching our database.

Passing information between Visual C++ .net & Visual FoxPro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rachel - 28 May 2005 09:33 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??
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??

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.