Click here to Skip to main content
15,918,333 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOnDraw how to get the invalidated area... Pin
braulio14-Jan-00 3:30
braulio14-Jan-00 3:30 
GeneralRE: OnDraw how to get the invalidated area... Pin
ChrisD14-Jan-00 17:35
suss ChrisD14-Jan-00 17:35 
GeneralGUI Toolkit Pin
frank13-Jan-00 8:29
frank13-Jan-00 8:29 
GeneralRE: GUI Toolkit Pin
Andrei Zenkovitch13-Jan-00 9:52
Andrei Zenkovitch13-Jan-00 9:52 
GeneralRE: GUI Toolkit Pin
mrcoder20-Jan-00 4:56
mrcoder20-Jan-00 4:56 
GeneralRE: GUI Toolkit Pin
mjf20-Jan-00 10:29
mjf20-Jan-00 10:29 
GeneralScreensaver Pin
Andreas Jaeger13-Jan-00 6:17
Andreas Jaeger13-Jan-00 6:17 
QuestionHow to use ADO without #import directive? Pin
Anonymous13-Jan-00 5:51
suss Anonymous13-Jan-00 5:51 
hello,
Can any has code that tells how to use ADO without #import directive?? I am trying to use because you have to hard code path or ado15.dll in ado. here is my code but CoCreateInstance failed. I am initializinf COM, importing ADO header files, and liniking ado lib file.

*************************

ADOConnection* pAdoConnection;
HRESULT hr;

// Create instances of ADOConnection
hr = CoCreateInstance(CLSID_CADOConnection, NULL, CLSCTX_INPROC_SERVER, IID_IADOConnection, reinterpret_cast<void**>(&pAdoConnection) );

if ( FAILED(hr) )
{
AfxMessageBox("CreateInstance failed!");
return;
}

// Call ADOConnection's Open method to connect to a database
hr = pAdoConnection->Open((BSTR)"Kruse", (BSTR)"", (BSTR)"", -1);

if ( ! FAILED(hr) )
{
AfxMessageBox("open failed");
return;
}

***************************

thanks in advance
mahesh
GeneralUsing #Import Pin
Matthias Steinbart13-Jan-00 0:42
sussMatthias Steinbart13-Jan-00 0:42 
Questionhide application from task-bar, task-manager? Pin
Nick Hodapp12-Jan-00 9:01
sitebuilderNick Hodapp12-Jan-00 9:01 
AnswerRE: hide application from task-bar, task-manager? Pin
Anonymous12-Jan-00 11:39
suss Anonymous12-Jan-00 11:39 
GeneralTab Control Pin
Brigg Thorp30-Dec-99 2:10
Brigg Thorp30-Dec-99 2:10 
GeneralRE: Tab Control Pin
softdiy30-Dec-99 21:33
softdiy30-Dec-99 21:33 
GeneralGradient filled text Pin
Helge30-Dec-99 1:48
Helge30-Dec-99 1:48 
Generaldrag&drop between a combobox and a CChildFrame derived class Pin
Michael Ang30-Dec-99 1:30
Michael Ang30-Dec-99 1:30 
General??!!!! Problem with scrolling and big files in MFC Pin
Magnus28-Dec-99 8:52
Magnus28-Dec-99 8:52 
GeneralISupportErorrInfo Pin
Henk27-Dec-99 21:08
Henk27-Dec-99 21:08 
GeneralRE: ISupportErorrInfo Pin
Alex Gorev3-Jan-00 5:46
Alex Gorev3-Jan-00 5:46 
GeneralRegister Class in a Dialog Based Application Pin
Member 81025-Dec-99 3:53
Member 81025-Dec-99 3:53 
GeneralRE: Register Class in a Dialog Based Application Pin
Dmitriy3-Jan-00 4:51
Dmitriy3-Jan-00 4:51 
GeneralRE: RE: Register Class in a Dialog Based Application Pin
Member 8104-Jan-00 23:19
Member 8104-Jan-00 23:19 
GeneralRE: RE: RE: Register Class in a Dialog Based Application Pin
Tom Hunter5-Jan-00 1:28
Tom Hunter5-Jan-00 1:28 
GeneralRE: RE: RE: RE: Register Class in a Dialog Based Application Pin
Member 8106-Jan-00 1:55
Member 8106-Jan-00 1:55 
GeneralI need table convert color string to RGB in HTML Pin
Kobe24-Dec-99 7:31
Kobe24-Dec-99 7:31 
QuestionFont size problem ??? Pin
Kobe24-Dec-99 0:10
Kobe24-Dec-99 0:10 

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.