Click here to Skip to main content
15,880,972 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do I convert .CPL to .MSC? Pin
Member 466633025-May-09 19:58
Member 466633025-May-09 19:58 
AnswerRe: How do I convert .CPL to .MSC? Pin
Stuart Dootson25-May-09 23:16
professionalStuart Dootson25-May-09 23:16 
GeneralRe: How do I convert .CPL to .MSC? Pin
Member 466633026-May-09 18:03
Member 466633026-May-09 18:03 
GeneralRe: How do I convert .CPL to .MSC? Pin
Stuart Dootson26-May-09 21:29
professionalStuart Dootson26-May-09 21:29 
GeneralRe: How do I convert .CPL to .MSC? Pin
Member 466633027-May-09 14:48
Member 466633027-May-09 14:48 
GeneralRe: How do I convert .CPL to .MSC? Pin
Stuart Dootson27-May-09 20:50
professionalStuart Dootson27-May-09 20:50 
GeneralRe: How do I convert .CPL to .MSC? Pin
Member 466633027-May-09 20:56
Member 466633027-May-09 20:56 
Question_variant_t Pin
vital_parsley200025-May-09 19:36
vital_parsley200025-May-09 19:36 
In Recordset::Open(const _variant_t & Source,const _variant_t & ActiveConnection,
enum CursorTypeEnum CursorType,enum LockTypeEnum LockType,long Options );

the function takes a _variant_t Source and _variant_t ActiveConnection as values.
But even if i create a _bstr_t connstr("Data Source= LibDB;"";,"";");
and a _bstr_t sqlQuery("SELECT * FROM lib_book_details ORDER BY ISBN");
and use it in Open(sqlQuery,connstr,adOpenDynamic,adLockOptimistic,adCmdText);

It still takes a _bstr_t.
Why doesnt the compiler throw an error ? Confused | :confused:
AnswerRe: _variant_t Pin
«_Superman_»25-May-09 19:42
professional«_Superman_»25-May-09 19:42 
GeneralRe: _variant_t Pin
vital_parsley200025-May-09 20:47
vital_parsley200025-May-09 20:47 
GeneralRe: _variant_t Pin
«_Superman_»25-May-09 21:51
professional«_Superman_»25-May-09 21:51 
GeneralRe: _variant_t Pin
vital_parsley200025-May-09 21:57
vital_parsley200025-May-09 21:57 
QuestionRe: _variant_t Pin
CPallini25-May-09 22:06
mveCPallini25-May-09 22:06 
GeneralRe: _variant_t Pin
Stuart Dootson26-May-09 0:45
professionalStuart Dootson26-May-09 0:45 
QuestionRead List values Pin
Davitor25-May-09 18:29
Davitor25-May-09 18:29 
AnswerRe: Read List values Pin
_AnsHUMAN_ 25-May-09 18:33
_AnsHUMAN_ 25-May-09 18:33 
Question[Hi! Programs CMOS Boot from USB ] Pin
tuan111125-May-09 17:24
tuan111125-May-09 17:24 
QuestionLocal symbols of a shared library Pin
sheeri manik25-May-09 14:44
sheeri manik25-May-09 14:44 
QuestionRe: Local symbols of a shared library Pin
CPallini25-May-09 20:41
mveCPallini25-May-09 20:41 
QuestionPlease help with MFC dialog Pin
Ryuk199025-May-09 12:50
Ryuk199025-May-09 12:50 
AnswerRe: Please help with MFC dialog Pin
Stuart Dootson25-May-09 14:04
professionalStuart Dootson25-May-09 14:04 
GeneralRe: Please help with MFC dialog Pin
Ryuk199025-May-09 14:29
Ryuk199025-May-09 14:29 
GeneralRe: Please help with MFC dialog Pin
Stuart Dootson25-May-09 14:33
professionalStuart Dootson25-May-09 14:33 
AnswerRe: Please help with MFC dialog Pin
Bram van Kampen26-May-09 13:59
Bram van Kampen26-May-09 13:59 
QuestionMacros. Pin
bawratri25-May-09 12:15
bawratri25-May-09 12: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.