473,324 Members | 2,002 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,324 software developers and data experts.

C# or VC++

ok guys

i am developer in vb6 mainly database.
earlier i used to do Dbase<------->foxpro

i have to switch to vc++ for the new project involving video

transfer .

i can use vc++ or C#

i have plain simple questions for the pro
1.is C# sharp(powerful) as Vc++ or >

2.can i do "all" thats done in vc++ using c#

i an told that c# can run on any platform (with .net envir) ,

is it possible to run in a linux platform
(please no prejudice here...)

..............

Nov 17 '05 #1
5 1932
apm

<ar*********@yahoo.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
ok guys

i am developer in vb6 mainly database.
earlier i used to do Dbase<------->foxpro

i have to switch to vc++ for the new project involving video

transfer .

i can use vc++ or C#

i have plain simple questions for the pro
1.is C# sharp(powerful) as Vc++ or >
2.can i do "all" thats done in vc++ using c#
Not to my knoledge. For example, c# cannot staticly link to unmanaged
libraries.

i an told that c# can run on any platform (with .net envir) ,

is it possible to run in a linux platform
(please no prejudice here...)

.............

Nov 17 '05 #2

1.is C# sharp(powerful) as Vc++ or >

2.can i do "all" thats done in vc++ using c#
You can't do all thats done, there are a small handful of things C++ can do
that C# can't, but they are pretty minimal. Unless you happen to need to
those particulars, you won't have a problem.

Assuming more powerful means better for a task is a risky choice, IMHO. What
kind of constraints does your project have?

i an told that c# can run on any platform (with .net envir) ,

is it possible to run in a linux platform
(please no prejudice here...)
The Mono project will allow you to run on Linux, as well as other platforms.
.............

Nov 17 '05 #3
i am developer in vb6 mainly database.
earlier i used to do Dbase<------->foxpro
If you have not used either C++ or C# before, then you will find C++ a lot
more difficult to learn. If, in addition, you use MFC with C++ (which is
normal for VC++ projects), then your learning problems will be doubled.

You will be productive with C# a lot sooner than you will with VC++.
1.is C# sharp(powerful) as Vc++ or >
In almost all situations, yes, and it is a lot simpler.

The only time I would consider VC++ over C# is if there are very tight,
real-time constraints. Even then, I would do some prototyping to test my
assumptions, before giving up on C#.
i an told that c# can run on any platform (with .net envir) ,

is it possible to run in a linux platform
(please no prejudice here...)


VC++, with MFC, is not portable.

HTH,

Javaman
Nov 17 '05 #4
Javaman59 wrote:

i am developer in vb6 mainly database.
earlier i used to do Dbase<------->foxpro

If you have not used either C++ or C# before, then you will find C++ a lot
more difficult to learn. If, in addition, you use MFC with C++ (which is
normal for VC++ projects), then your learning problems will be doubled.

You will be productive with C# a lot sooner than you will with VC++.

1.is C# sharp(powerful) as Vc++ or >

In almost all situations, yes, and it is a lot simpler.

The only time I would consider VC++ over C# is if there are very tight,
real-time constraints. Even then, I would do some prototyping to test my
assumptions, before giving up on C#.


Javaman,

I think you raise some valid points but let me play devils advocate on a
few issues here. A few (big) drawbacks of C#/Managed code that nobody
mentioned:

1. Huge memory footprint, loading the CLR adds around 8MB to 80MB to
you memory footprint.

2. Code can be easily decompiled, even obsfuscating your code doesn't
do a whole lot to protect your code from others who want to see how it
works.

3. Requires .Net framework on client, and this is not a trivial
install, its a 20 MB download, and requires a reboot.

--
Rob Schieber
Nov 17 '05 #5
Good points Rob. My perspective on C# comes from having worked with it in the
development environment. In that situation it is easy to neglect deployment
issues. That reminds me, I'd better do something about deploying my C# app
soon!

- Javaman

"Rob Schieber" wrote:
Javaman59 wrote:

i am developer in vb6 mainly database.
earlier i used to do Dbase<------->foxpro

If you have not used either C++ or C# before, then you will find C++ a lot
more difficult to learn. If, in addition, you use MFC with C++ (which is
normal for VC++ projects), then your learning problems will be doubled.

You will be productive with C# a lot sooner than you will with VC++.

1.is C# sharp(powerful) as Vc++ or >

In almost all situations, yes, and it is a lot simpler.

The only time I would consider VC++ over C# is if there are very tight,
real-time constraints. Even then, I would do some prototyping to test my
assumptions, before giving up on C#.


Javaman,

I think you raise some valid points but let me play devils advocate on a
few issues here. A few (big) drawbacks of C#/Managed code that nobody
mentioned:

1. Huge memory footprint, loading the CLR adds around 8MB to 80MB to
you memory footprint.

2. Code can be easily decompiled, even obsfuscating your code doesn't
do a whole lot to protect your code from others who want to see how it
works.

3. Requires .Net framework on client, and this is not a trivial
install, its a 20 MB download, and requires a reboot.

--
Rob Schieber

Nov 17 '05 #6

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

Similar topics

11
by: Tatu Portin | last post by:
Have this kind of struct: typedef struct { char **user_comments; /* ... */ } vorbis_comment; /* prototype */ char * read_vorbis_string ( FILE *sc);
4
by: Anthony Gallagher | last post by:
I have a bunch of libraries compiled using VC++ 6.0, and I am trying to recompile one of our projects using VC++ .NET. I get all kind of linker errors (specially in STL calls). How do I get rid of...
5
by: Hari | last post by:
Guys please help me to solve this strange problem what Iam getting as follows.. Trying to instantiate a global instance of a template class as follows :- when i build this code with debug and...
2
by: vemulakiran | last post by:
Hi all, I have doubt regarding .NET. I have a tool which was developed on VC++ 6.0(Win32 Application ). The application communicates with library (API) which was developed on VC++ 6.0 called core...
2
by: | last post by:
Everything seems to be moving to .NET and VC++ seems to be adding a lot of managed code support every new release. The questions: is unmanaged code in VC++ beeing phased out in favour of managed...
4
by: ultranet | last post by:
I have cruised around http://msdn.microsoft.com/visualc/ and the rest of the site, and i am not able to find a single C++ or VC++ certification exam that will be available after June 30, 2004. I...
1
by: Steve | last post by:
We are considering the ways to migrate our VC++ 6.0 applications to .NET platform. It would be nice to rewrite them completely in C#, but due to the time constraints this option is out of...
2
by: um | last post by:
When the POSIX pthreads library for w32 release 2-2-0 (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 then it compiles and passes all the benchmark tests in the subdirectory...
15
by: Michael Tissington | last post by:
I have a Visual Basic 6.0 ActiveX Control. It seems there is no way with VS 2005 to create a similar control for containers that host ActiverX controls, is this correct ? I'm thinking of...
7
by: Norman Diamond | last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: 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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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: 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.