Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: EVENTS : Inter Process Communication failed between Windows XP and RTOS Pin
Joe Woodbury30-Dec-10 8:18
professionalJoe Woodbury30-Dec-10 8:18 
QuestionDatabase question Pin
MacRaider430-Dec-10 2:32
MacRaider430-Dec-10 2:32 
AnswerRe: Database question Pin
T210230-Dec-10 2:47
T210230-Dec-10 2:47 
GeneralRe: Database question Pin
MacRaider430-Dec-10 2:53
MacRaider430-Dec-10 2:53 
GeneralRe: Database question Pin
T210230-Dec-10 14:06
T210230-Dec-10 14:06 
QuestionRe: Database question Pin
MacRaider430-Dec-10 4:43
MacRaider430-Dec-10 4:43 
AnswerRe: Database question Pin
trelliot31-Dec-10 0:30
trelliot31-Dec-10 0:30 
AnswerRe: Database question Pin
jschell31-Dec-10 8:11
jschell31-Dec-10 8:11 
MacRaider4 wrote:
However our other programmer who is trying to get similar performance out of a MFC app is running into the problem of it being 4.5 seconds slower.


I doubt that your analysis is correct.

You are presuming that it is the code itself that is causing the performance problem. I would suspect otherwise.

But then there are many details missing from your problem description.

For example is the total run time 1 hour, so it is 4.5 seconds longer than 1 hour? Or it is .1 seconds in VB and thus 4.6 seconds in C++?

Are you testing a single attempt in both applications?
Are you testing on the same box and using the same database?
At what point to you time the speed?
How do you time the speed?
Are you using ODBC in VB?
Did you validate the time by running the tests for both applications multiple times?
GeneralRe: Database question Pin
MacRaider41-Jan-11 6:42
MacRaider41-Jan-11 6:42 
GeneralRe: Database question Pin
jschell1-Jan-11 8:28
jschell1-Jan-11 8:28 
QuestionQuery for non-dockable toolbar. Pin
Le@rner29-Dec-10 22:12
Le@rner29-Dec-10 22:12 
AnswerRe: Query for non-dockable toolbar. Pin
jk chan30-Dec-10 1:45
jk chan30-Dec-10 1:45 
Questionintegrating C in C++ MFC Pin
Stevefigo229-Dec-10 21:22
Stevefigo229-Dec-10 21:22 
QuestionRe: integrating C in C++ MFC Pin
CPallini29-Dec-10 21:26
mveCPallini29-Dec-10 21:26 
AnswerRe: integrating C in C++ MFC Pin
Stevefigo229-Dec-10 21:55
Stevefigo229-Dec-10 21:55 
GeneralRe: integrating C in C++ MFC Pin
CPallini29-Dec-10 22:11
mveCPallini29-Dec-10 22:11 
GeneralRe: integrating C in C++ MFC Pin
Stevefigo229-Dec-10 22:32
Stevefigo229-Dec-10 22:32 
GeneralRe: integrating C in C++ MFC Pin
CPallini29-Dec-10 22:52
mveCPallini29-Dec-10 22:52 
AnswerRe: integrating C in C++ MFC Pin
jk chan29-Dec-10 21:38
jk chan29-Dec-10 21:38 
AnswerRe: integrating C in C++ MFC Pin
Joe Woodbury30-Dec-10 6:59
professionalJoe Woodbury30-Dec-10 6:59 
AnswerRe: integrating C in C++ MFC Pin
trelliot31-Dec-10 0:35
trelliot31-Dec-10 0:35 
QuestionAny other option Except memcpy Pin
002comp29-Dec-10 17:20
002comp29-Dec-10 17:20 
AnswerRe: Any other option Except memcpy Pin
jk chan29-Dec-10 17:53
jk chan29-Dec-10 17:53 
GeneralRe: Any other option Except memcpy Pin
002comp29-Dec-10 19:43
002comp29-Dec-10 19:43 
GeneralRe: Any other option Except memcpy Pin
jk chan29-Dec-10 20:56
jk chan29-Dec-10 20:56 

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.