473,399 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

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


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??
--
Rgds,
Rachel
Nov 17 '05 #1
2 1536
Rachel wrote:
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"
Nov 17 '05 #2
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/libr...bbf66a4896.asp

Regards
Christian

"Rachel" <Ra****@discussions.microsoft.com> schrieb im Newsbeitrag
news:57**********************************@microsof t.com...

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??
--
Rgds,
Rachel

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: V.V. Singh | last post by:
Hi Everyone, This is my code for making a connection to a Visual FoxPro free table and querying it. I get the following error message File iddxstrippunc.prg does not exist I have tested...
5
by: Roy Gourgi | last post by:
Hi, I am used to working in Visual FoxPro and I would like to be able to create a database and store and retrieve information from it. What is the simplest way to do it and what should I be...
1
by: GPBSOFT | last post by:
I am Italian developer, escuse me for my bad English I have a problem with ODBC. I must link to a database from Visual FoxPro, I have installed Windows XP Professional with service pack 2. When I...
3
by: Amar | last post by:
I have a abc.PRG file in visual foxpro 8.0. I can run this file using visual foxpro environment and it creates a table X.dbf in the same folder where this program file is and populates some data in...
9
by: cj | last post by:
I'm trying to forge ahead with Visual Basic .Net but recently I've suffered several major set backs in demonstrating VB is the future and we should move from Visual FoxPro. I really need to find...
6
by: JimmyKoolPantz | last post by:
I have been given the task of converting a program from VFP (visual foxpro) to Visual Basic.net. My question is "Is it possible to generate a DBF file Dynamically(at runtime) using Visual...
0
by: AJIT PITALE | last post by:
Hi, I am using Visual Basic 6 as front end and Visual FoxPro as a Database. I am trying to pass a parameter from VB to Visual FoxPro's Stored Procedure. I am getting an error showing "Data...
1
by: Mehbs | last post by:
I have a small program already written in VFP8. This program allows user to enter start and end date. When user click ok, it starts from transaction file and pick up the data which falls under...
3
by: HistoricVFP | last post by:
Hello, I’ve been given the task of importing .dbf files from a very old version of Visual FoxPro (version 2.1) into Access (2003). When I import the data straight to Access it errors with: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.