Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: delete memory Pin
KarstenK10-Aug-07 3:27
mveKarstenK10-Aug-07 3:27 
GeneralRe: delete memory Pin
David Crow10-Aug-07 3:29
David Crow10-Aug-07 3:29 
GeneralRe: delete memory Pin
KarstenK10-Aug-07 3:40
mveKarstenK10-Aug-07 3:40 
GeneralRe: delete memory Pin
David Crow10-Aug-07 3:50
David Crow10-Aug-07 3:50 
QuestionQuery regarding terminating a thread. Pin
Rajesh_Parameswaran10-Aug-07 1:23
Rajesh_Parameswaran10-Aug-07 1:23 
AnswerRe: Query regarding terminating a thread. Pin
jhwurmbach10-Aug-07 1:42
jhwurmbach10-Aug-07 1:42 
AnswerRe: Query regarding terminating a thread. Pin
KarstenK10-Aug-07 3:15
mveKarstenK10-Aug-07 3:15 
GeneralRe: Query regarding terminating a thread. Pin
Rajesh_Parameswaran10-Aug-07 5:56
Rajesh_Parameswaran10-Aug-07 5:56 
Hi jhwurmbach/KarstenK,

Thanks for your response.

jhwurmbach, but the problem is that the call to SQLConnect() in the thread is a blocking one. So until i get a connection or it will timeout, it will be holding the call. It is getting timeout only after 40 seconds, that is a huge delay. I'm unable to set the ODBC Connection time out also. Even I set the ODBC time-out, it is taking it as WAIT_INFINITE.

Any other alternative methods??

thanks in advance,
Rajesh
GeneralRe: Query regarding terminating a thread. Pin
KarstenK12-Aug-07 21:21
mveKarstenK12-Aug-07 21:21 
Questionhow to output text file in C++/MFC Pin
tunminshein10-Aug-07 0:56
tunminshein10-Aug-07 0:56 
AnswerRe: how to output text file in C++/MFC Pin
baerten10-Aug-07 1:08
baerten10-Aug-07 1:08 
AnswerRe: how to output text file in C++/MFC Pin
Hamid_RT10-Aug-07 1:11
Hamid_RT10-Aug-07 1:11 
AnswerRe: how to output text file in C++/MFC Pin
KarstenK10-Aug-07 1:14
mveKarstenK10-Aug-07 1:14 
AnswerRe: how to output text file in C++/MFC Pin
Anurag Gandhi10-Aug-07 1:23
professionalAnurag Gandhi10-Aug-07 1:23 
AnswerRe: how to output text file in C++/MFC Pin
jhwurmbach10-Aug-07 1:34
jhwurmbach10-Aug-07 1:34 
Questionregarding statusbar display Pin
mirraa10-Aug-07 0:21
mirraa10-Aug-07 0:21 
AnswerRe: regarding statusbar display Pin
Hamid_RT10-Aug-07 0:38
Hamid_RT10-Aug-07 0:38 
AnswerRe: regarding statusbar display Pin
KarstenK10-Aug-07 2:21
mveKarstenK10-Aug-07 2:21 
QuestionHow to resolve this compile time error? Pin
Mushtaque Nizamani10-Aug-07 0:01
Mushtaque Nizamani10-Aug-07 0:01 
AnswerRe: How to resolve this compile time error? Pin
Cedric Moonen10-Aug-07 0:09
Cedric Moonen10-Aug-07 0:09 
GeneralRe: How to resolve this compile time error? Pin
Mushtaque Nizamani10-Aug-07 0:15
Mushtaque Nizamani10-Aug-07 0:15 
AnswerRe: How to resolve this compile time error? Pin
prasad_som10-Aug-07 0:10
prasad_som10-Aug-07 0:10 
AnswerRe: How to resolve this compile time error? Pin
Hamid_RT10-Aug-07 0:31
Hamid_RT10-Aug-07 0:31 
QuestionUnicode - MultiByte Pin
baerten9-Aug-07 22:51
baerten9-Aug-07 22:51 
AnswerRe: Unicode - MultiByte Pin
karle12-Aug-07 7:36
karle12-Aug-07 7:36 

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.