Is it possible for a project to have both C++ and C# code?
How about solution, can we code half in C++ and half in C#?
I am talking managed or unmanaged C++.
Basic idea is to convert some project that are in C# into C++ and some C++ projects to C#.
Thank you,
Po 6 1239
Pohihihi,
No, it is not. However, you can have C++ and C# in the same solution (but different projects).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Pohihihi" <no*****@hotmail.com> wrote in message news:Oi*************@tk2msftngp13.phx.gbl...
Is it possible for a project to have both C++ and C# code?
How about solution, can we code half in C++ and half in C#?
I am talking managed or unmanaged C++.
Basic idea is to convert some project that are in C# into C++ and some C++ projects to C#.
Thank you,
Po
For doing so in same solution do I need to make any changes for complier options?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:OB**************@TK2MSFTNGP09.phx.gbl...
Pohihihi,
No, it is not. However, you can have C++ and C# in the same solution (but different projects).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Pohihihi" <no*****@hotmail.com> wrote in message news:Oi*************@tk2msftngp13.phx.gbl...
Is it possible for a project to have both C++ and C# code?
How about solution, can we code half in C++ and half in C#?
I am talking managed or unmanaged C++.
Basic idea is to convert some project that are in C# into C++ and some C++ projects to C#.
Thank you,
Po
Pohihihi,
The compiler options are set for each project at the project level, so the
options set for a C++ (managed or unmanaged) project in a solution do not
affect the compiler options that are set for a C# project residing in the
same solution.
Peter
--
Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
"Pohihihi" wrote: For doing so in same solution do I need to make any changes for complier options?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:OB**************@TK2MSFTNGP09.phx.gbl... Pohihihi,
No, it is not. However, you can have C++ and C# in the same solution (but different projects).
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com "Pohihihi" <no*****@hotmail.com> wrote in message news:Oi*************@tk2msftngp13.phx.gbl... Is it possible for a project to have both C++ and C# code? How about solution, can we code half in C++ and half in C#?
I am talking managed or unmanaged C++.
Basic idea is to convert some project that are in C# into C++ and some C++ projects to C#.
Thank you, Po
yes that part I got, so for C++ project when I am changing code from C# to
C++ do I also take care of complier options or IDE will do it automatically,
or do I need to create a whole new C++ project for complier to know it is a
c++ project?
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:21**********************************@microsof t.com... Pohihihi, The compiler options are set for each project at the project level, so the options set for a C++ (managed or unmanaged) project in a solution do not affect the compiler options that are set for a C# project residing in the same solution. Peter
-- Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com
"Pohihihi" wrote:
For doing so in same solution do I need to make any changes for complier options?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:OB**************@TK2MSFTNGP09.phx.gbl... Pohihihi,
No, it is not. However, you can have C++ and C# in the same solution (but different projects).
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com "Pohihihi" <no*****@hotmail.com> wrote in message news:Oi*************@tk2msftngp13.phx.gbl... Is it possible for a project to have both C++ and C# code? How about solution, can we code half in C++ and half in C#?
I am talking managed or unmanaged C++.
Basic idea is to convert some project that are in C# into C++ and some C++ projects to C#.
Thank you, Po
You have to start out with a C++ project. You can paste C# code into it if
you want,
but eventually it needs to be converted to C++.
Peter
--
Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
"Pohihihi" wrote: yes that part I got, so for C++ project when I am changing code from C# to C++ do I also take care of complier options or IDE will do it automatically, or do I need to create a whole new C++ project for complier to know it is a c++ project?
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message news:21**********************************@microsof t.com... Pohihihi, The compiler options are set for each project at the project level, so the options set for a C++ (managed or unmanaged) project in a solution do not affect the compiler options that are set for a C# project residing in the same solution. Peter
-- Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com
"Pohihihi" wrote:
For doing so in same solution do I need to make any changes for complier options?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:OB**************@TK2MSFTNGP09.phx.gbl... Pohihihi,
No, it is not. However, you can have C++ and C# in the same solution (but different projects).
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com "Pohihihi" <no*****@hotmail.com> wrote in message news:Oi*************@tk2msftngp13.phx.gbl... Is it possible for a project to have both C++ and C# code? How about solution, can we code half in C++ and half in C#?
I am talking managed or unmanaged C++.
Basic idea is to convert some project that are in C# into C++ and some C++ projects to C#.
Thank you, Po
thanks.
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:7A**********************************@microsof t.com... You have to start out with a C++ project. You can paste C# code into it if you want, but eventually it needs to be converted to C++. Peter
-- Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com
"Pohihihi" wrote:
yes that part I got, so for C++ project when I am changing code from C# to C++ do I also take care of complier options or IDE will do it automatically, or do I need to create a whole new C++ project for complier to know it is a c++ project?
"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message news:21**********************************@microsof t.com... > Pohihihi, > The compiler options are set for each project at the project level, so > the > options set for a C++ (managed or unmanaged) project in a solution do > not > affect the compiler options that are set for a C# project residing in > the > same solution. > Peter > > -- > Co-founder, Eggheadcafe.com developer portal: > http://www.eggheadcafe.com > UnBlog: > http://petesbloggerama.blogspot.com > > > > > "Pohihihi" wrote: > >> For doing so in same solution do I need to make any changes for >> complier >> options? >> >> "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> >> wrote in message news:OB**************@TK2MSFTNGP09.phx.gbl... >> Pohihihi, >> >> No, it is not. However, you can have C++ and C# in the same >> solution (but different projects). >> >> Hope this helps. >> >> >> -- >> - Nicholas Paldino [.NET/C# MVP] >> - mv*@spam.guard.caspershouse.com >> "Pohihihi" <no*****@hotmail.com> wrote in message >> news:Oi*************@tk2msftngp13.phx.gbl... >> Is it possible for a project to have both C++ and C# code? >> How about solution, can we code half in C++ and half in C#? >> >> I am talking managed or unmanaged C++. >> >> Basic idea is to convert some project that are in C# into C++ and >> some C++ projects to C#. >> >> Thank you, >> Po This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Turk |
last post by:
Is it possible to deploy ASP.NET 2 proj onto PWS on windows2000 pro. The
app runs fne in vstudio2005, but unable to configure asp.net 2 on PWS on my
windows2000 development box. Is this...
|
by: shalender verma |
last post by:
I am using VB6. I created a small project. I Want that i
can activate my running project(minimized and appearing at
the task bar) by pressing any code while working in any
other application....
|
by: Tony |
last post by:
I am developing a simple .net vb proj and have a few questions that Id be
very grateful if someone more experienced than me could answer.
Firstly, is it possible to set overwrite options when...
|
by: raulavi |
last post by:
I really need a detailed Answer. Thanks!!!
How to have global vars if I have a solution with 2 projects...(i need to
set the var in one proj and get the var from the second one. I dont want to...
|
by: Lore Leunoeg |
last post by:
Does any one know what the file with the extension "proj.user" is good for?
Thank you
Sincerely
Lore
|
by: Sharon |
last post by:
Hi all,
I've implemented a TCP server using the Socket async methods.
When connecting to the server from 3 instances of hyper terminal,
i've noticed that each of the newly created server sockets,...
|
by: vaishnavi |
last post by:
hi,
i want to do a proj for 2nd sem of mcs.
could anyone tell me some project topics in java ?
some proj topics in servlet or rmi.....
or related with db....
pls send me list of the topics....
|
by: =?Utf-8?B?SmVycnkgSg==?= |
last post by:
I am using Visual Studio 2005 integrated with Visual Source Safe ver 6.0.
When I open visual studio, the proj files keep getting checked out
automatically. Can someone tell me why and how I can...
|
by: kkshansid |
last post by:
$projid=$_GET;
$q="INSERT INTO proj select * from projtemp where projid ='".$projid."'";
$qins=mysql_query($q);
is resulting false
is there any error?
there are 2 tables in a database with name...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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...
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
|
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...
|
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...
| |