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

C / C++ / MFC

 
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 
OK - every time you connect to a database - doesn't matter how it occurs, it takes time to establish the connection and verify the user's credentials. That's problem #1.
So use pooled connections or keep the connection open.
The second problem is that every time you create a new SQL statement for execution, the DBMS has to check the syntax and evaluate an execution plan for that statement.
Therefore if you have a 'WHERE' clause in the statement, use a prepared statement (SQLPrepare?? -haven't used ODBC for 10 years).
Of course you can get over the second problem by using SQL procedure or function calls.
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 
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 

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.