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

C / C++ / MFC

 
AnswerRe: CreateFile Pin
«_Superman_»13-Feb-09 0:24
professional«_Superman_»13-Feb-09 0:24 
QuestionConcatPidls Pin
john563212-Feb-09 22:55
john563212-Feb-09 22:55 
AnswerRe: ConcatPidls Pin
Stuart Dootson12-Feb-09 23:51
professionalStuart Dootson12-Feb-09 23:51 
QuestionActiveX for thermal printer not working Pin
bugsb4u12-Feb-09 22:48
bugsb4u12-Feb-09 22:48 
QuestionConnection with SQL Server 2008 using C++ Pin
PankajB12-Feb-09 20:50
PankajB12-Feb-09 20:50 
AnswerRe: Connection with SQL Server 2008 using C++ Pin
Stuart Dootson12-Feb-09 21:54
professionalStuart Dootson12-Feb-09 21:54 
GeneralRe: Connection with SQL Server 2008 using C++ Pin
PankajB12-Feb-09 22:17
PankajB12-Feb-09 22:17 
GeneralRe: Connection with SQL Server 2008 using C++ Pin
SandipG 12-Feb-09 22:33
SandipG 12-Feb-09 22:33 
May be very stupid questions but
1. Are you calling CoInitialize?
2. How did you create instance of m_pConnection?
3. Did you verify that m_pConnection is not null?
4. Did you try to catch the exception using _com_error catch block to get the exact description of the problem?

Regards,
Sandip.

GeneralRe: Connection with SQL Server 2008 using C++ Pin
PankajB12-Feb-09 22:44
PankajB12-Feb-09 22:44 
GeneralRe: Connection with SQL Server 2008 using C++ Pin
PankajB12-Feb-09 22:56
PankajB12-Feb-09 22:56 
GeneralRe: Connection with SQL Server 2008 using C++ Pin
SandipG 12-Feb-09 23:08
SandipG 12-Feb-09 23:08 
GeneralRe: Connection with SQL Server 2008 using C++ Pin
Stuart Dootson12-Feb-09 22:52
professionalStuart Dootson12-Feb-09 22:52 
GeneralRe: Connection with SQL Server 2008 using C++ Pin
PankajB12-Feb-09 23:14
PankajB12-Feb-09 23:14 
GeneralRe: Connection with SQL Server 2008 using C++ Pin
PankajB12-Feb-09 23:23
PankajB12-Feb-09 23:23 
GeneralRe: Connection with SQL Server 2008 using C++ Pin
PankajB16-Feb-09 1:13
PankajB16-Feb-09 1:13 
Questionenabling keyboard shortcuts in my application Pin
VCProgrammer12-Feb-09 20:49
VCProgrammer12-Feb-09 20:49 
AnswerRe: enabling keyboard shortcuts in my application Pin
Arman S.12-Feb-09 21:09
Arman S.12-Feb-09 21:09 
AnswerRe: enabling keyboard shortcuts in my application Pin
Madhu Nair12-Feb-09 21:27
Madhu Nair12-Feb-09 21:27 
AnswerRe: enabling keyboard shortcuts in my application Pin
Rajesh R Subramanian13-Feb-09 5:05
professionalRajesh R Subramanian13-Feb-09 5:05 
QuestionWIN32 Com port ReadFile() Gets delay Pin
yctsai12-Feb-09 20:31
yctsai12-Feb-09 20:31 
AnswerRe: WIN32 Com port ReadFile() Gets delay Pin
Cedric Moonen12-Feb-09 20:38
Cedric Moonen12-Feb-09 20:38 
GeneralRe: WIN32 Com port ReadFile() Gets delay Pin
yctsai12-Feb-09 20:49
yctsai12-Feb-09 20:49 
GeneralRe: WIN32 Com port ReadFile() Gets delay Pin
Cedric Moonen12-Feb-09 21:05
Cedric Moonen12-Feb-09 21:05 
GeneralRe: WIN32 Com port ReadFile() Gets delay Pin
yctsai12-Feb-09 23:24
yctsai12-Feb-09 23:24 
GeneralRe: WIN32 Com port ReadFile() Gets delay Pin
Stuart Dootson12-Feb-09 21:56
professionalStuart Dootson12-Feb-09 21:56 

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.