Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: buffer Pin
Mark Salsbery25-Jul-07 14:09
Mark Salsbery25-Jul-07 14:09 
AnswerRe: buffer Pin
ThatsAlok25-Jul-07 20:09
ThatsAlok25-Jul-07 20:09 
AnswerRe: buffer Pin
Karismatic25-Jul-07 20:59
Karismatic25-Jul-07 20:59 
QuestionConversion to hexa Pin
AAKAra25-Jul-07 8:33
AAKAra25-Jul-07 8:33 
AnswerRe: Conversion to hexa Pin
Mark Salsbery25-Jul-07 9:47
Mark Salsbery25-Jul-07 9:47 
AnswerRe: Conversion to hexa Pin
Mark Salsbery25-Jul-07 19:02
Mark Salsbery25-Jul-07 19:02 
QuestionODBC connection going bad -- what to do? Pin
Robin Hilliard25-Jul-07 7:21
Robin Hilliard25-Jul-07 7:21 
AnswerRe: ODBC connection going bad -- what to do? Pin
cmk25-Jul-07 13:04
cmk25-Jul-07 13:04 
1) I don't think so, i don't recall any callback functionality, nor do i believe the connection is 'live', i think it is like (is?) a TCP/IP connection.

2)
a)
i)Rewrite the app as a client-server system that can handle caching data while the server is offline.
ii) See if any of the SQL server replication (pub-sub) services can help you.

b) You say that a reconnect would be acceptable, in that case i would suggest turning on connection pooling and reconnecting each time. If there are a lot of requests in a short period then a connect request will receive an existing connection from the pool (fast), if not then a full connect will happen (slower).

c) Why not test the connection before you use it ? If bad reconnect. There shouldn't be any reason for the app to crash.


...cmk

Save the whales - collect the whole set

GeneralRe: ODBC connection going bad -- what to do? Pin
Robin Hilliard25-Jul-07 13:53
Robin Hilliard25-Jul-07 13:53 
QuestionWhy does not Command Prompt window have WndProc ? Pin
Ky Nam25-Jul-07 7:04
Ky Nam25-Jul-07 7:04 
AnswerRe: Why does not Command Prompt window have WndProc ? Pin
Jonathan [Darka]25-Jul-07 7:08
professionalJonathan [Darka]25-Jul-07 7:08 
GeneralRe: Why does not Command Prompt window have WndProc ? Pin
Ky Nam25-Jul-07 15:02
Ky Nam25-Jul-07 15:02 
QuestionVideo via Positional Data Pin
Andy20225-Jul-07 5:17
Andy20225-Jul-07 5:17 
QuestionIs there any built in separator control in MFC? Pin
Mushtaque Nizamani25-Jul-07 4:23
Mushtaque Nizamani25-Jul-07 4:23 
AnswerRe: Is there any built in separator control in MFC? Pin
Iain Clarke, Warrior Programmer25-Jul-07 4:35
Iain Clarke, Warrior Programmer25-Jul-07 4:35 
GeneralRe: Is there any built in separator control in MFC? Pin
Mushtaque Nizamani25-Jul-07 5:00
Mushtaque Nizamani25-Jul-07 5:00 
GeneralRe: Is there any built in separator control in MFC? Pin
David Crow25-Jul-07 5:11
David Crow25-Jul-07 5:11 
GeneralRe: Is there any built in separator control in MFC? Pin
Iain Clarke, Warrior Programmer25-Jul-07 5:51
Iain Clarke, Warrior Programmer25-Jul-07 5:51 
AnswerRe: Is there any built in separator control in MFC? Pin
Michael Dunn25-Jul-07 11:17
sitebuilderMichael Dunn25-Jul-07 11:17 
AnswerRe: Is there any built in separator control in MFC? Pin
Don Box25-Jul-07 19:03
Don Box25-Jul-07 19:03 
GeneralRe: Is there any built in separator control in MFC? Pin
DevMentor.org27-Jul-07 8:21
DevMentor.org27-Jul-07 8:21 
AnswerRe: Is there any built in separator control in MFC? Pin
Haroon Sarwar25-Jul-07 19:19
Haroon Sarwar25-Jul-07 19:19 
QuestionRestarting your application Pin
Programm3r25-Jul-07 4:07
Programm3r25-Jul-07 4:07 
AnswerRe: Restarting your application Pin
Iain Clarke, Warrior Programmer25-Jul-07 4:13
Iain Clarke, Warrior Programmer25-Jul-07 4:13 
AnswerRe: Restarting your application Pin
Cyrilix25-Jul-07 4:15
Cyrilix25-Jul-07 4:15 

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.