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

What type of c++ should I use?

Hey,

My experience with c++ is limited to ATL and for the past 3 years it's just
been c#. I need to write a UI intensive application that is just too slow in
managed code. So I'm re-doing it in unmanaged c++, what should I use in vc++
7, ATL, MFC or Win32?

thanks
Craig
Nov 16 '05 #1
17 1769
Borland C++ builder is the best C++ tool for GUI
development. You can develop com servers using VisStudio
and call these com servers from Borland developed GUI.
-----Original Message-----
Hey,

My experience with c++ is limited to ATL and for the past 3 years it's justbeen c#. I need to write a UI intensive application that is just too slow inmanaged code. So I'm re-doing it in unmanaged c++, what should I use in vc++7, ATL, MFC or Win32?

thanks
Craig
.

Nov 16 '05 #2
Good old borland, never thought of them. What makes their product good at
GUI stuff?

Are they actually going to be around for much longer? ;-)

C

"ququ" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Borland C++ builder is the best C++ tool for GUI
development. You can develop com servers using VisStudio
and call these com servers from Borland developed GUI.
-----Original Message-----
Hey,

My experience with c++ is limited to ATL and for the past

3 years it's just
been c#. I need to write a UI intensive application that

is just too slow in
managed code. So I'm re-doing it in unmanaged c++, what

should I use in vc++
7, ATL, MFC or Win32?

thanks
Craig
.

Nov 16 '05 #3
Borland VCL (Visual Component Library) is the perfect
collection of VB stile GUI components vor C++. Most recent
version Borland C++ builder 6 was released less then year
ego. Check http://www.borland.com

Regards
-----Original Message-----
Good old borland, never thought of them. What makes their product good atGUI stuff?

Are they actually going to be around for much longer? ;-)

C

"ququ" <an*******@discussions.microsoft.com> wrote in messagenews:02****************************@phx.gbl...
Borland C++ builder is the best C++ tool for GUI
development. You can develop com servers using VisStudio
and call these com servers from Borland developed GUI.
>-----Original Message-----
>Hey,
>
>My experience with c++ is limited to ATL and for the
past 3 years it's just
>been c#. I need to write a UI intensive application
that is just too slow in
>managed code. So I'm re-doing it in unmanaged c++, what

should I use in vc++
>7, ATL, MFC or Win32?
>
>thanks
>Craig
>
>
>.
>

.

Nov 16 '05 #4
You're probably going to get a variety of answers to this "subjective"
question. in my opinion MFC is a good thing to learn. It is a pretty thin
layer on the Win32 API with lots of helper classes. MSFT has said that they
will continue to support and improve MFC for the forseeable future so the
investment in time to learn it will not be a waste.

My two pesos...

Tom

"ilPostino" <ne**@ip80.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hey,

My experience with c++ is limited to ATL and for the past 3 years it's just been c#. I need to write a UI intensive application that is just too slow in managed code. So I'm re-doing it in unmanaged c++, what should I use in vc++ 7, ATL, MFC or Win32?

thanks
Craig

Nov 16 '05 #5
You may want to consider the WTL, the Windows Template Library. Here one place to start learning about it: http://www.codeproject.com/wtl/
I'm guessing an ATL programmer will feel right at home with it. I'd consider MFC only if you'll need third-part components (like Dundas, Stingray, etc...)


"ilPostino" <ne**@ip80.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl...
Hey,

My experience with c++ is limited to ATL and for the past 3 years it's just
been c#. I need to write a UI intensive application that is just too slow in
managed code. So I'm re-doing it in unmanaged c++, what should I use in vc++
7, ATL, MFC or Win32?

thanks
Craig

Nov 16 '05 #6
Hi,

Our company uses C#, Delphi and occasionally MFC for apps and to be quite
honest I wouldn't have said that there was much perceptible difference
between them as far as UI speed was concerned (except for the slight 'first
time JIT compile' issue with C#). I am a bit curious as to what you might be
doing with C# that makes the UI seem so slow?

Cheers

Doug Forster

"ilPostino" <ne**@ip80.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hey,

My experience with c++ is limited to ATL and for the past 3 years it's just been c#. I need to write a UI intensive application that is just too slow in managed code. So I'm re-doing it in unmanaged c++, what should I use in vc++ 7, ATL, MFC or Win32?

thanks
Craig

Nov 16 '05 #7
"ququ" <an*******@discussions.microsoft.com> wrote in message
news:0f****************************@phx.gbl...
Borland VCL (Visual Component Library) is the perfect
collection of VB stile GUI components vor C++. Most recent
version Borland C++ builder 6 was released less then year
ego. Check http://www.borland.com


First of all, more than a year ago, second of all there will be no more VCL
updates (they're going to wxwindows). And third, builder is extremely bug
ridden
Nov 16 '05 #8
Good lack with UpdateData() crap.
-----Original Message-----
"ququ" <an*******@discussions.microsoft.com> wrote in messagenews:0f****************************@phx.gbl...
Borland VCL (Visual Component Library) is the perfect
collection of VB stile GUI components vor C++. Most recent version Borland C++ builder 6 was released less then year ego. Check http://www.borland.com
First of all, more than a year ago, second of all there

will be no more VCLupdates (they're going to wxwindows). And third, builder is extremely bugridden
.

Nov 16 '05 #9

I wouldn't go with Borland and vcl. Very outdated stuff.
"ilPostino" <ne**@ip80.com> wrote in message
news:ei**************@TK2MSFTNGP09.phx.gbl...
Good old borland, never thought of them. What makes their product good at
GUI stuff?

Are they actually going to be around for much longer? ;-)

C

"ququ" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Borland C++ builder is the best C++ tool for GUI
development. You can develop com servers using VisStudio
and call these com servers from Borland developed GUI.
-----Original Message-----
Hey,

My experience with c++ is limited to ATL and for the past

3 years it's just
been c#. I need to write a UI intensive application that

is just too slow in
managed code. So I'm re-doing it in unmanaged c++, what

should I use in vc++
7, ATL, MFC or Win32?

thanks
Craig
.



Nov 16 '05 #10
Hi,

Well to start have you tried running SharpDevelop? It is written in c# and
is a memory hog and is pretty slow - no offense to the SharpDevelop
developers ;-) me being one of them! The company I work for also has an IDE
for their core product and it is entirely written in c# and is also a memory
hog and pretty much drives a PIV, 512Meg machine into the ground. The
application I'm working on is for my Phd in soft. dev. and I just don't want
to spend years writing it to find its slow ;-) Most people seem to believe
the speed difference between an MFC app and c# isn't worth the extra
development time.

thanks
Craig
"Doug Forster" <doug_ZAPTHIS_AT_TONIQ_ZAPTHIS_co.nz> wrote in message
news:uN**************@TK2MSFTNGP10.phx.gbl...
Hi,

Our company uses C#, Delphi and occasionally MFC for apps and to be quite
honest I wouldn't have said that there was much perceptible difference
between them as far as UI speed was concerned (except for the slight 'first time JIT compile' issue with C#). I am a bit curious as to what you might be doing with C# that makes the UI seem so slow?

Cheers

Doug Forster

"ilPostino" <ne**@ip80.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hey,

My experience with c++ is limited to ATL and for the past 3 years it's just
been c#. I need to write a UI intensive application that is just too

slow in
managed code. So I'm re-doing it in unmanaged c++, what should I use in

vc++
7, ATL, MFC or Win32?

thanks
Craig


Nov 16 '05 #11
thanks!

Craig

"Tom Serface" <ts******@msn.com> wrote in message
news:OH**************@TK2MSFTNGP11.phx.gbl...
You're probably going to get a variety of answers to this "subjective"
question. in my opinion MFC is a good thing to learn. It is a pretty thin layer on the Win32 API with lots of helper classes. MSFT has said that they will continue to support and improve MFC for the forseeable future so the
investment in time to learn it will not be a waste.

My two pesos...

Tom

"ilPostino" <ne**@ip80.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hey,

My experience with c++ is limited to ATL and for the past 3 years it's just
been c#. I need to write a UI intensive application that is just too

slow in
managed code. So I'm re-doing it in unmanaged c++, what should I use in

vc++
7, ATL, MFC or Win32?

thanks
Craig


Nov 16 '05 #12
Sin
> Well to start have you tried running SharpDevelop? It is written in c# and
is a memory hog and is pretty slow - no offense to the SharpDevelop
developers ;-) me being one of them! The company I work for also has an IDE for their core product and it is entirely written in c# and is also a memory hog and pretty much drives a PIV, 512Meg machine into the ground. The
application I'm working on is for my Phd in soft. dev. and I just don't want to spend years writing it to find its slow ;-) Most people seem to believe
the speed difference between an MFC app and c# isn't worth the extra
development time.


If you want speed and lightweight go for a full blown win32 app. It might be
more cryptic than MFC or other similar frameworks, but it's the best tool
for making fast and lightweight applications. All other methods use the API
down under anyways.

Alex.
Nov 16 '05 #13
ilPostino <ne**@ip80.com> wrote:
My experience with c++ is limited to ATL and for the past 3 years
it's just been c#. I need to write a UI intensive application that is
just too slow in managed code. So I'm re-doing it in unmanaged c++,


If you know ATL and C++ well (including templates), you will be happy
using WTL. Start here http://www.codeproject.com/wtl/ or here
http://www.idevresource.com/wtl/ . WTL is heavely templated (ie. no
runtime overhead, like MFC) thin object oriented wrapper around Win32
API GUI functions. Most (if not all) of its classes are derived from ATL
classes. I do not know how it fits complex GUI applications (probably it
does, due to elegant design), but it's worth a try.
B.

Nov 16 '05 #14
Serve Lau <i@bleat.nospam.com> wrote:
[...]
First of all, more than a year ago, second of all there will be no more VCL
updates (they're going to wxwindows). And third, builder is extremely bug
ridden

VCL is a Delphi class library for which
there's a C++ interface. AFAIK, the next
VCL thing in the making is to create a
.NET version of it. IIRC, plans are to
get a new native VCL out afterwards.
While the new C++BuilderX doesn't come
with a visual designer, it does compile
BCB6 applications out of the box. Also,
it's planned to have more RAD support
(including VCL RAD support) in later
versions.
Check out the open letter at
http://bdn.borland.com/article/0,1410,31277,00.html

Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers org

"And why should I know better by now/When I'm old enough not to?"
Beth Orton
Nov 16 '05 #15
Pent <pent> wrote:
I wouldn't go with Borland and vcl. Very outdated stuff.
The VCl was last updated with Delphi 7,
IIRC correctly, that was less than a year
ago.
[...]


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers org

"And why should I know better by now/When I'm old enough not to?"
Beth Orton
Nov 16 '05 #16
> You're probably going to get a variety of answers to this "subjective"
question. in my opinion MFC is a good thing to learn. It is a pretty thin layer on the Win32 API with lots of helper classes. MSFT has said that they will continue to support and improve MFC for the forseeable future so the
investment in time to learn it will not be a waste.


MFC is (right after DirectX) the most crappy API I've ever seen. It is
neither thin nor easy to learn. I think support for MFC will stop in the
next few years and they will only support and develop on .NET Windows.Forms.
IIRC, in 2004 they will release new GUI components for .NET with a brand new
API.

Maybe third party platform independent GUI classes for C++ are worth a look,
but I've never tried them.

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
Nov 17 '05 #17
codymanix wrote:
I think support for MFC will stop in the next few years and they will
only support and develop on .NET Windows.Forms.
This is not correct. Microsoft plans on supporting MFC for the foreseeable
future. We are working to make sure that MFC applications are able to take
advantage of new APIs in the .NET frameworks and WinFX.
IIRC, in 2004 they will release new GUI components for .NET with a brand
new API.


Microsoft is introducing a new presentation API to Windows, but this is not
being released in 2004 (it is likely going to be in Beta though). Just as
MFC is an abstraction over the Win32 presentation APIs, it is very likely
that other libraries will be developed to abstract the WinFX APIs.

--
Brandon Bray http://blogs.gotdotnet.com/branbray/
This posting is provided AS IS with no warranties, and confers no rights.
Nov 17 '05 #18

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

Similar topics

10
by: Brad Tilley | last post by:
Is there an easier way to do this: def print_whats_returned(function): print function print type(function)
51
by: jacob navia | last post by:
I would like to add at the beginning of the C tutorial I am writing a short blurb about what "types" are. I came up with the following text. Please can you comment? Did I miss something? Is...
43
by: Mountain Bikn' Guy | last post by:
I have a situation where an app writes data of various types (primitives and objects) into a single dimensional array of objects. (This array eventually becomes a row in a data table, but that's...
59
by: Chris Dunaway | last post by:
The C# 3.0 spec (http://msdn.microsoft.com/vcsharp/future/) contains a feature called "Implicitly typed local variables". The type of the variable is determined at compile time based on the...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
2
by: Tarik Monem | last post by:
OK! I've gone through a few tutorials and I cannot understand what I'm doing wrong casting_registration.php <table> <tr> <td> <form enctype="multipart/form-data" action="thankyou.php"...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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
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
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...
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...

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.