Click here to Skip to main content
15,888,590 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
GeneralRe: Any other option Except memcpy Pin
002comp29-Dec-10 21:54
002comp29-Dec-10 21:54 

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.