Click here to Skip to main content
16,007,443 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Messaging via CMC Pin
Senkwe Chanda25-Jun-02 23:00
Senkwe Chanda25-Jun-02 23:00 
GeneralPlease enlighten me!!! Pin
Tommy Svensson25-Jun-02 1:49
Tommy Svensson25-Jun-02 1:49 
GeneralRe: Please enlighten me!!! Pin
Jason Henderson25-Jun-02 4:18
Jason Henderson25-Jun-02 4:18 
GeneralRe: Please enlighten me!!! Pin
Tommy Svensson25-Jun-02 12:41
Tommy Svensson25-Jun-02 12:41 
GeneralRe: Please enlighten me!!! Pin
Rage25-Jun-02 5:34
professionalRage25-Jun-02 5:34 
GeneralRe: Please enlighten me!!! Pin
Tommy Svensson25-Jun-02 12:46
Tommy Svensson25-Jun-02 12:46 
GeneralRe: Please enlighten me!!! Pin
Roger Allen25-Jun-02 5:39
Roger Allen25-Jun-02 5:39 
GeneralRe: Please enlighten me!!! Pin
Douglas Troy25-Jun-02 9:46
Douglas Troy25-Jun-02 9:46 
Tommy,

I have developed in both languages for several years now, Delphi more than C++, so I do have an answer for you:

As you've already read, MFC applications load the MFC DLL into memory when an application starts up, verse a Delphi application that's linked to the VCL statically (which only includes the code needed to run the application). If you build your Delphi application so you have to dist the packages, you'll see the same kind of result as an MFC application. If you really want to compare "apples to apples" you need to code a WTL Dialog application and then run them side-by-side.

In terms of "speed of execution" I am afraid you are incorrect. The last time I checked performance of a MFC Application verse a Delphi application, C++ ran 50 million lines of code per second verse Delphi's 20 million per second. When Borland, now Inprise, introduced that C++ Builder / Delphi IDE integration, they screwed the execution speed some how and Delphi actually became slower ( I believe Delphi originally executed at like 30 million lines/sec). This is code execution time, not compile time; Delphi's compiler smokes the daylights out of the C++ Compiler even with Precompiled Headers, I'll give Borland that much.

Regardless of that, speed of execution is why people like John Carmack develop in C++ and not Delphi, and why I've started to develop in VC++ myself. Well, that and the fact that I can hook directly into ANY new SDK MS releases without waiting for a "port" like Delphi developers do.

It's good see that you're "trying" to develop in VC++, keep at it; I too used to have similar questions when I made made the jump from Delphi, but once you've started to really dig into C++ you'll understand why "the dark side is more powerful".

Join us Tommy ... you don't know the power of the dark side. Let go of your feelings for Delphi, give in to your hatred for Microsoft. Join us.

<insert evil="" laughter="" here=""> Laugh | :laugh:

( I know, I need a great deal of help ) Unsure | :~

D.
GeneralRe: Please enlighten me!!! Pin
Tommy Svensson25-Jun-02 12:52
Tommy Svensson25-Jun-02 12:52 
GeneralRe: Please enlighten me!!! Pin
Christian Graus25-Jun-02 12:48
protectorChristian Graus25-Jun-02 12:48 
GeneralChanging the color of scroll bars Pin
GUEJO25-Jun-02 1:42
GUEJO25-Jun-02 1:42 
GeneralRe: Changing the color of scroll bars Pin
aldeba25-Jun-02 5:30
aldeba25-Jun-02 5:30 
GeneralRe: Changing the color of scroll bars Pin
GUEJO26-Jun-02 0:18
GUEJO26-Jun-02 0:18 
GeneralTrouble with EnumChildWindows Pin
Still learning how to code25-Jun-02 1:41
Still learning how to code25-Jun-02 1:41 
GeneralRe: Trouble with EnumChildWindows Pin
Joaquín M López Muñoz25-Jun-02 10:19
Joaquín M López Muñoz25-Jun-02 10:19 
GeneralRe: Trouble with EnumChildWindows Pin
Still learning how to code25-Jun-02 22:04
Still learning how to code25-Jun-02 22:04 
QuestionHow to use TB_ADDSTRING & TB_INSERTBUTTON to add button more than one on toolbar Pin
24-Jun-02 22:24
suss24-Jun-02 22:24 
Generalsplash screens Pin
SilentWarrior24-Jun-02 21:38
SilentWarrior24-Jun-02 21:38 
GeneralRe: splash screens Pin
Rage25-Jun-02 5:24
professionalRage25-Jun-02 5:24 
GeneralRe: splash screens Pin
aldeba25-Jun-02 5:26
aldeba25-Jun-02 5:26 
GeneralRe: splash screens Pin
Ravi Bhavnani25-Jun-02 7:29
professionalRavi Bhavnani25-Jun-02 7:29 
QuestionHow to retrieve the list of installed software Pin
24-Jun-02 21:31
suss24-Jun-02 21:31 
AnswerRe: How to retrieve the list of installed software Pin
25-Jun-02 7:00
suss25-Jun-02 7:00 
Questionhow to create controls dynamically in CView Pin
24-Jun-02 20:03
suss24-Jun-02 20:03 
AnswerRe: how to create controls dynamically in CView Pin
Roger Allen25-Jun-02 5:43
Roger Allen25-Jun-02 5:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.