Click here to Skip to main content
15,907,874 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: convertion PRtime format to normal readable form..? Pin
Gokulnath00730-Dec-10 21:28
Gokulnath00730-Dec-10 21:28 
AnswerRe: convertion PRtime format to normal readable form..? Pin
CPallini30-Dec-10 22:04
mveCPallini30-Dec-10 22:04 
QuestionCompare Two XML Files Pin
savita_Bgm30-Dec-10 17:43
savita_Bgm30-Dec-10 17:43 
AnswerRe: Compare Two XML Files Pin
ShilpiP30-Dec-10 17:55
ShilpiP30-Dec-10 17:55 
AnswerRe: Compare Two XML Files Pin
trelliot31-Dec-10 0:02
trelliot31-Dec-10 0:02 
AnswerRe: Compare Two XML Files Pin
Abhi Lahare31-Dec-10 6:02
Abhi Lahare31-Dec-10 6:02 
AnswerRe: Compare Two XML Files Pin
Shivanand Gupta2-Jan-11 20:46
Shivanand Gupta2-Jan-11 20:46 
QuestionGetting various errors !!! Pin
AmbiguousName30-Dec-10 8:13
AmbiguousName30-Dec-10 8:13 
AnswerRe: Getting various errors !!! Pin
«_Superman_»30-Dec-10 13:02
professional«_Superman_»30-Dec-10 13:02 
AnswerRe: Getting various errors !!! Pin
ShilpiP30-Dec-10 18:04
ShilpiP30-Dec-10 18:04 
QuestionEVENTS : Inter Process Communication failed between Windows XP and RTOS Pin
pandit8430-Dec-10 3:24
pandit8430-Dec-10 3:24 
AnswerRe: EVENTS : Inter Process Communication failed between Windows XP and RTOS Pin
«_Superman_»30-Dec-10 7:16
professional«_Superman_»30-Dec-10 7:16 
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 
GeneralRe: Database question Pin
MacRaider41-Jan-11 6:42
MacRaider41-Jan-11 6:42 
I have changed my VB app to use the same DSN that the C++ app is using and it is still faster. The only thing that is being done is grabbing 4,500 or so records and populating a datagrid. Our C++ programmer is convinced it's something with the network, but if that was the case both should run equally as bad. Both are being tested on the same servers and have been run well over 50 times and the VB one wins out every time. Now being a VB programmer I know this really should not be the case as VB has more overhead than a MFC application thus should be running slower.
As far as timing goes, we have both apps getting time stamps before and after the process starts. I don't have the code infront of me, but it is basically startTime -> Open the connection and query the database -> return the results to a recordset -> close the connection, endTime.
Now I can't remember for sure if we open the connection then do the startTime or before, but I do know both are the same.
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 

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.