Click here to Skip to main content
15,924,317 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unregistering ActiveX ... Pin
Carlos Antollini19-Jun-01 6:13
Carlos Antollini19-Jun-01 6:13 
GeneralA Question Pin
19-Jun-01 1:42
suss19-Jun-01 1:42 
GeneralRe: A Question Pin
Tomasz Sowinski19-Jun-01 2:26
Tomasz Sowinski19-Jun-01 2:26 
GeneralRe: A Question Pin
19-Jun-01 3:48
suss19-Jun-01 3:48 
GeneralMS Chart Control OCX Pin
Dashmesh A. Singh19-Jun-01 1:11
Dashmesh A. Singh19-Jun-01 1:11 
Generalado Pin
19-Jun-01 1:09
suss19-Jun-01 1:09 
GeneralRe: ado Pin
19-Jun-01 3:39
suss19-Jun-01 3:39 
GeneralRe: ado Pin
19-Jun-01 6:30
suss19-Jun-01 6:30 
Thanks Mike, but I did do that, here is my code:

_ConnectionPtr m_pConn;
m_pConn.CreateInstance (__uuidof(Connection));
m_pConn->Open ( _bstr_t ( "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = ADOTestDB.MDB" ),
_bstr_t ( "" ), _bstr_t ( "" ), adModeUnknown );

It just crashes, saying "abnormal program termination"...

also, what does the __uuidof and _bstr_t do? It seems weird including types in an argument list....

Thanks

GeneralRe: ado Pin
Carlos Antollini19-Jun-01 6:38
Carlos Antollini19-Jun-01 6:38 
QuestionCTreeCtrl + Sorting? Pin
E. den Ridder19-Jun-01 0:43
E. den Ridder19-Jun-01 0:43 
AnswerRe: CTreeCtrl + Sorting? Pin
Tomasz Sowinski19-Jun-01 0:55
Tomasz Sowinski19-Jun-01 0:55 
GeneralVC++ and Excel Pin
Gérald Mercet18-Jun-01 23:37
Gérald Mercet18-Jun-01 23:37 
GeneralOveriding OnOK Pin
William Bartholomew18-Jun-01 21:14
William Bartholomew18-Jun-01 21:14 
GeneralRe: Overiding OnOK Pin
18-Jun-01 21:42
suss18-Jun-01 21:42 
GeneralRe: Overiding OnOK Pin
Igor Sukhov18-Jun-01 21:43
Igor Sukhov18-Jun-01 21:43 
GeneralRe: Overiding OnOK Pin
Erik Funkenbusch19-Jun-01 7:50
Erik Funkenbusch19-Jun-01 7:50 
GeneralCommandbar custom ctrl Pin
Jerkan18-Jun-01 20:07
Jerkan18-Jun-01 20:07 
GeneralPOSITION in VC++ Pin
bo18-Jun-01 16:40
bo18-Jun-01 16:40 
GeneralRe: POSITION in VC++ Pin
Christian Graus18-Jun-01 17:07
protectorChristian Graus18-Jun-01 17:07 
GeneralRe: POSITION in VC++ Pin
18-Jun-01 18:12
suss18-Jun-01 18:12 
Generalword blocking Pin
prog758418-Jun-01 16:23
prog758418-Jun-01 16:23 
GeneralRe: word blocking Pin
Christian Graus18-Jun-01 17:05
protectorChristian Graus18-Jun-01 17:05 
Questionhow can I change ip address with vc? Pin
18-Jun-01 15:56
suss18-Jun-01 15:56 
AnswerRe: how can I change ip address with vc? Pin
19-Jun-01 6:33
suss19-Jun-01 6:33 
GeneralCTime::GetSecond() Pin
John Uhlenbrock18-Jun-01 14:09
John Uhlenbrock18-Jun-01 14:09 

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.