|
We do database applications and large GUI based programs, but we use VC++ because we can make very small distribution packages which is critical for us as we do all business via the internet so our clients must download the program as we do not send any software on CD.
I don't know anything about Delphi, but I'm thinking on difference might be that a setup for a Delphi built business application versus a C++ built one would be much larger.
Is that the case?
|
|
|
|
|
No. MFC apps are generally much larger than Delphi apps. If you want small C++ apps, use WTL.
|
|
|
|
|
i'm not exactly sure which produces smaller exe's, but delphi can create standalone versions which don't rely on msvcrt.dll or similar libraries, or a library-dependant version (which chops a lot off the output file's size, but then it needs the runtime library dll, standalone versions only link with parts they need so they're usually smaller and simpler when installing on an end-user system.... the library dependant version rocks for development because it size is comparable to MSVC, Borland C++ and even, dare i say it, VB. smaller files means i have more hard drive space, which is an issue for me at the moment, being a 'poor student'......
personally i think the output file size difference wouldn't be worth comparing - Delphi was designed to develop business applications quickly (how many games were written in Delphi? not many compared to Visual C++) and it does that task well. from a beginner's point of view, its also a lot easier to learn and use (i learnt it first) - C++ has a bit more power than Delphi, but i've never needed any features that C++ has and Delphi doesn't. once again i guess it comes down to personal choice and experience...
btw, i'm only 17 years old (last year of high school in australia), so i dont have much experience writing business apps - if anyone from melbourne/geelong area wants to change that you have my email address...
-- señor codeman
codeman@delphidudes.com
|
|
|
|
|
VC++
Nish
p.s. Never used Delphi!
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Nish - Native CPian wrote:
p.s. Never used Delphi!
You wouldn't like it. Think of it as Visual Basic for PASCAL programmers
Michael
Errata 1: p. 154, section 'Defusing'. For 'red wire' read 'blue wire'.
|
|
|
|
|
That is not true! Delphi is OOP designed, has classes, inheritance and exceptions, and VCL si a GUI class library similar to MFC. You cannot say the same thing about vb
Best regards,
Alexandru Savescu
|
|
|
|
|
It was a joke!
Although the original Delphi was very close to what I said. However it has evolved very nicely but is still too GUI centered for my tastes.
Michael
Errata 1: p. 154, section 'Defusing'. For 'red wire' read 'blue wire'.
|
|
|
|
|
Okay. Let's say Delphi would come somewhere in between VB 6 and VB.NET
That's a fair compromise I guess
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
Nish - Native CPian wrote:
Okay. Let's say Delphi would come somewhere in between VB 6 and VB.NET
ROFLMAO
Michael
Errata 1: p. 154, section 'Defusing'. For 'red wire' read 'blue wire'.
|
|
|
|
|
Ok, I get it, but why do you want to mock at Nish by telling him lies?
Best regards,
Alexandru Savescu
|
|
|
|
|
I had the misfortune to write a Delphi based app a few years back - I always hated the fact that you had to explicitly call class constructors with Delphi - truly gross.
Free
|
|
|
|
|
Michael P Butler wrote:
Think of it as Visual Basic for PASCAL programmers
That's exactly how I think of it now
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
exactly, except that Visual Basic is useless compared to Delphi - pointers aren't really supported in VB, it doesn't have inline assembly support, i don't know about 64-bit integers, and classes.... VB almost has those.... oh and Delphi supports them all. being as easy as VB makes it good for when you first learn to code, because bBASIC really isnt good for that (i leanred that about 8 years ago.... been using Delphi for 4 or 5 years and C/C++ for about 3 or 4 years....)
-- señor codeman
codeman@delphidudes.com
|
|
|
|
|
i think delphi is for applications that u have to do them quickly, coz it has a lot of components and that make easier the development. And i like C++ Builder more than Delphi and it has the same components, And is C++
|
|
|
|
|
C++ Builder was fun, and it can compile both C++ and Pascal code (the components are all ripped straight out of delphi...)
also Delphi and Kylix are code-compatible so most code will prot straight from windows to linux with very little effort (except for windows API calls obviously)
-- señor codeman
codeman@delphidudes.com
|
|
|
|
|
Asking this question on VC++ forum can't give you objective answers
Tomasz Sowinski -- http://www.shooltz.com
- It's for protection - Protection from what? Zee Germans?
|
|
|
|
|
tiaozi wrote:
which one you like much?
VC++
Delphi is very easier for developing application but I know that there are lots of BUG in it.At least I know about database programming of it.
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
some fundamental rules of windows coding i have learned:
1. there are always bugs in the code - yours or somebody elses
2. microsoft bugs have evolved and are very hard to detect and workaround at times (why do i always get lousy scores in solitare? )
3. microsoft realised they can't defeat borland, and they actually own 10% of inprise (parent company) now....
-- señor codeman
codeman@delphidudes.com
|
|
|
|
|
VC++ unless RAD was critical. Then I would choose C# or VB.NET if the .NET framework was there. Otherwise I would probably choose VB6.
--
Dana Holt
Xenos Software
|
|
|
|
|
If you like the GUI centered approach to coding but would prefer to work with C++, you could try Borlands (now Inprise, I think) C++ Builder - same idea as their Delphi product but based around C++ rather than Pascal.
Free
|
|
|
|
|
C++Builder is based around C++ but it fully supports pascal as well, making for many hours of multi-language coding fun (and about 5,000 access violations.... damn you WinXP!)
-- señor codeman
codeman@delphidudes.com
|
|
|
|
|
Pascal was originally developed to teach programming to beginners. Although Delphi uses a far better compiler it is not as powerful as VC++. It is impossible (I believe) to add an icon to the system tray in delphi (well versions 5 and lower - if you can, how???), but obviously not in VC++, I think (having used both) that Delphi is more of a tool for programmers wanting to create windows GUI applications FAST, it is not a serious contender to the power of VC++. With this in mind I'd say Delphi is by far the best language to start learning to program and get familiar with programming concepts (pointers, data structures etc.) but if you want to be a serious programmer VC++ is eventually where you should progress to. I think Java is more of a contender to throne (but will never beat it cause you can't manipulate memory!!!).
Alan.
"When I left you I was but the learner, now I am the master" - Darth Vader
|
|
|
|
|
Alan Chambers wrote:
It is impossible (I believe) to add an icon to the system tray in delphi (well versions 5 and lower - if you can, how???),
I doubt you cannot do that. With Delphi you can call any WIN32 API function. So if you can do it with API, you can do it with Delphi.
I believe Borland is supporting Delphi only for the language. It has behind a C++ compiler and only with a different parser. You can use C++ builder to build Delphi files also.
Best regards,
Alexandru Savescu
|
|
|
|
|
you can add icons to system tray in delphi, i was doing it in delphi 3 (because i never had delphi 2) -> i have a comjponent i wrote for it somewhere, if you are interested maybe i can dig it out (email me)
the only things C++ REALLY has over Delphi in terms of power now is templates and multiple inheritance (you can inherit from a class and an interface, but not two classes)
it's better for getting things going quick though, and it builds faster than any C++ compiler i've ever used...
as for java, it belongs steaming in my coffee cup (speaking of coffee, i could use some now )
-- señor codeman
codeman@delphidudes.com
|
|
|
|
|