Click here to Skip to main content
15,885,435 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question for Static control with Notify property. Pin
Andrew Brock17-Jan-11 0:40
Andrew Brock17-Jan-11 0:40 
QuestionAccelerators, MFC -> ATL [solved] Pin
Niklas L16-Jan-11 22:25
Niklas L16-Jan-11 22:25 
QuestionC++ compiler needed plzzzz Pin
aesthetic.crazy16-Jan-11 9:54
aesthetic.crazy16-Jan-11 9:54 
AnswerRe: C++ compiler needed plzzzz PinPopular
Manfred Rudolf Bihy16-Jan-11 10:04
professionalManfred Rudolf Bihy16-Jan-11 10:04 
AnswerRe: C++ compiler needed plzzzz Pin
Maximilien16-Jan-11 14:51
Maximilien16-Jan-11 14:51 
AnswerRe: C++ compiler needed plzzzz Pin
Richard MacCutchan17-Jan-11 0:33
mveRichard MacCutchan17-Jan-11 0:33 
AnswerRe: C++ compiler needed plzzzz Pin
Asit Banerjee18-Jan-11 21:42
Asit Banerjee18-Jan-11 21:42 
QuestionADO in MFC.....getting problems Pin
AmbiguousName16-Jan-11 3:57
AmbiguousName16-Jan-11 3:57 
hello guys... I am trying to connect to database using ADO in MFC dialog based app. Now I get error at the first step when I try to create new connection and recordset using COM but I getting 4 errors stating "unresolved external symbol"
- "error LNK2001: unresolved external symbol _CLSID_CADORecordset"
- "error LNK2001: unresolved external symbol _IID_IADORecordset"
- "error LNK2001: unresolved external symbol _CLSID_CADOConnection"
- "error LNK2001: unresolved external symbol _IID_IADOConnection"
#include <adoid.h>;
#include <adoint.h>;
#include <comdef.h>;

CComPtr<ADORecordset> m_pSet;
CComPtr<ADOConnection> m_pConn;

//create a new connection
::CoCreateInstance(CLSID_CADOConnection, NULL, CLSCTX_INPROC_SERVER, IID_IADOConnection, (LPVOID*) &m_pConn);

//create a new recordset
::CoCreateInstance(CLSID_CADORecordset, NULL, CLSCTX_INPROC_SERVER, IID_IADORecordset,(LPVOID *) &m_pSet);

Thats is what I was trying to do. What can be the reason?? thnx
AnswerRe: ADO in MFC.....getting problems Pin
User 742933816-Jan-11 4:24
professionalUser 742933816-Jan-11 4:24 
AnswerRe: ADO in MFC.....getting problems Pin
AmbiguousName16-Jan-11 4:30
AmbiguousName16-Jan-11 4:30 
AnswerRe: ADO in MFC.....getting problems Pin
PJ Arends16-Jan-11 11:55
professionalPJ Arends16-Jan-11 11:55 
Questionoperator ":" new for me in C++ Pin
aesthetic.crazy16-Jan-11 0:53
aesthetic.crazy16-Jan-11 0:53 
AnswerRe: operator ":" new for me in C++ Pin
Richard MacCutchan16-Jan-11 1:28
mveRichard MacCutchan16-Jan-11 1:28 
GeneralRe: operator ":" new for me in C++ Pin
aesthetic.crazy16-Jan-11 6:51
aesthetic.crazy16-Jan-11 6:51 
GeneralRe: operator ":" new for me in C++ Pin
Richard MacCutchan16-Jan-11 7:04
mveRichard MacCutchan16-Jan-11 7:04 
AnswerRe: operator ":" new for me in C++ PinPopular
Iain Clarke, Warrior Programmer16-Jan-11 1:36
Iain Clarke, Warrior Programmer16-Jan-11 1:36 
AnswerRe: operator ":" new for me in C++ PinPopular
Aescleal16-Jan-11 9:01
Aescleal16-Jan-11 9:01 
AnswerRe: operator ":" new for me in C++ Pin
moemass17-Jan-11 3:12
moemass17-Jan-11 3:12 
QuestionHow to get computer color setting? Pin
includeh1015-Jan-11 20:37
includeh1015-Jan-11 20:37 
AnswerRe: How to get computer color setting? Pin
Andrew Brock15-Jan-11 20:53
Andrew Brock15-Jan-11 20:53 
GeneralRe: How to get computer color setting? Pin
includeh1016-Jan-11 2:47
includeh1016-Jan-11 2:47 
GeneralRe: How to get computer color setting? Pin
Andrew Brock16-Jan-11 2:51
Andrew Brock16-Jan-11 2:51 
QuestionSorting data using std::map or std::multimap Pin
cmacgowan15-Jan-11 14:19
cmacgowan15-Jan-11 14:19 
AnswerRe: Sorting data using std::map or std::multimap Pin
Andrew Brock15-Jan-11 18:08
Andrew Brock15-Jan-11 18:08 
GeneralRe: Sorting data using std::map or std::multimap Pin
cmacgowan16-Jan-11 11:01
cmacgowan16-Jan-11 11:01 

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.