473,322 Members | 1,345 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,322 software developers and data experts.

Howto: use mutliple languages C++ in VB.net

I need to program some of a VB .net application in C++.

How do I incorparate it into VB
Nov 21 '05 #1
11 1176
"SimonSX" <Si*************@yahoo.co.uk> schrieb:
I need to program some of a VB .net application in C++.

How do I incorparate it into VB


You can use Managed Extensions for C++ to create a managed interface for
your C++ DLL.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2
????
Why use DLL in .Net ???

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:um**************@TK2MSFTNGP12.phx.gbl...
"SimonSX" <Si*************@yahoo.co.uk> schrieb:
I need to program some of a VB .net application in C++.

How do I incorparate it into VB


You can use Managed Extensions for C++ to create a managed interface for
your C++ DLL.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
Download my example of creating non-mfc DLL's in C++ & calling them from
VB.NET:

http://www.gotdotnet.com/Community/U...2-ca46ef086c12

I hope this helps

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #4
"SimonSX" <Si*************@yahoo.co.uk> schrieb:
????
Why use DLL in .Net ???


You will have to create a class library (DLL) file and reference this DLL
from your executable project. What's the problem?! Mixing languages within
a single project is currently not supported.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5
lol
i thought this was a group fpr people who knew something
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:e3**************@TK2MSFTNGP12.phx.gbl...
"SimonSX" <Si*************@yahoo.co.uk> schrieb:
????
Why use DLL in .Net ???


You will have to create a class library (DLL) file and reference this DLL
from your executable project. What's the problem?! Mixing languages
within a single project is currently not supported.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #6
SimonSX,
I need to program some of a VB .net application in C++.

How do I incorparate it into VB

Can you make this message clear for me.

I translate this as that you need to program something that is made in VBNet
into C++, that you want to incorporate into VBCom.

However I have the idea that you mean something else.

Cor
Nov 21 '05 #7
On Fri, 8 Apr 2005 13:48:28 +0200, "Cor Ligthert"
<no************@planet.nl> wrote:
SimonSX,
I need to program some of a VB .net application in C++.

How do I incorparate it into VB

Can you make this message clear for me.

I translate this as that you need to program something that is made in VBNet
into C++, that you want to incorporate into VBCom.

However I have the idea that you mean something else.

Cor

Again, it is a little unclear what you mean, an alternative answer
would be to do your C++ development in a separate project and access
that the exposed methods from your VB project/solution. I often use
this approach where parts of the development are better suited to C#
and others to VB.

Doug Taylor

Nov 21 '05 #8
"SimonSX" <Si*************@yahoo.co.uk> schrieb:
lol
i thought this was a group fpr people who knew something


I feel sorry, but I don't understand what you want to tell me.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #9
???
Nov 21 '05 #10
On Fri, 8 Apr 2005 15:06:56 +0200, "Cor Ligthert"
<no************@planet.nl> wrote:
???

Sorry Cor, I folllowed from the wrong message, it should have been on
the route message, I was agreeing with your statement though that
question could have multiple meanings.

Doug Taylor

Nov 21 '05 #11
Doug,
Sorry Cor, I folllowed from the wrong message, it should have been on
the route message, I was agreeing with your statement though that
question could have multiple meanings.

No problem however when I started reading then I got that "what want Doug to
say to me".

It is clear now, as I said no problem.

:-)

Cor
Nov 21 '05 #12

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

Similar topics

4
by: Josef Sachs | last post by:
Is Andrew Kuchling's regex-to-re HOWTO available anywhere? I've found the following (dead) links on various Web pages: http://py-howto.sourceforge.net/regex-to-re/regex-to-re.html...
4
by: Ray Dukes | last post by:
What I am looking to do is map the implementation of interface properties and functions to an inherited method of the base class. Please see below. ...
5
by: Josef Brunner | last post by:
Hi, I have an application that enables the user to switch between (so far) 2 different languages. Now I need to display a datetimepicker. How can I switch / control the language the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.