Click here to Skip to main content
16,006,442 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionMFC's CObject and CObList equivalents in ATL? Pin
LukeV22-Oct-02 5:40
LukeV22-Oct-02 5:40 
AnswerRe: MFC's CObject and CObList equivalents in ATL? Pin
Anonymous24-Oct-02 6:27
Anonymous24-Oct-02 6:27 
GeneralHTML Source of MSHTML Pin
jajamal22-Oct-02 5:39
jajamal22-Oct-02 5:39 
GeneralRe: HTML Source of MSHTML Pin
Paul M Watt22-Oct-02 12:41
mentorPaul M Watt22-Oct-02 12:41 
GeneralRe: HTML Source of MSHTML Pin
jajamal22-Oct-02 22:50
jajamal22-Oct-02 22:50 
GeneralARRGHH!! MessageBox call from a dll Pin
Phil.Benson21-Oct-02 22:29
professionalPhil.Benson21-Oct-02 22:29 
GeneralATL & databases Pin
LukeV21-Oct-02 17:56
LukeV21-Oct-02 17:56 
GeneralRe: ATL & databases Pin
Vagif Abilov21-Oct-02 19:59
professionalVagif Abilov21-Oct-02 19:59 
ATL consumers provide database access using OLE DB - the most efficient way to access SQL database. OLE DB however has relatively steep learning curve. One thing you can do to quickly be able to deal with databases in your ATL project - is to use ADO instead. ADO is a VB-friendly layer on the top of OLE DB. Just import ADO type library by including it in your stdafx.h:

#pragma warning(disable:4146)
#import <msado15.dll> no_namespace rename("EOF", "_EOF")
#pragma warning(default:4146)

Then you can use ADO interfaces in your project (check MSDN documentation). It's not as efficient as OLE DB (single fields are converted into VARIANTs), but it's a quick and easy start.

Forget about MFC database classes in ATL. MFC only supports ODBC.

Vagif Abilov
MCP (Visual C++)
Oslo, Norway


Hex is for sissies. Real men use binary. And the most hardcore types use only zeros - uppercase zeros and lowercase zeros.
Tomasz Sowinski
GeneralRe: ATL & databases Pin
Jörgen Sigvardsson1-Nov-02 0:47
Jörgen Sigvardsson1-Nov-02 0:47 
Generaldate/time parsing and formatting (STL) Pin
SNagase21-Oct-02 9:54
SNagase21-Oct-02 9:54 
GeneralClassWizard database Pin
Jose Cruz21-Oct-02 9:35
Jose Cruz21-Oct-02 9:35 
GeneralRe: ClassWizard database Pin
Michael Dunn21-Oct-02 17:02
sitebuilderMichael Dunn21-Oct-02 17:02 
GeneralRe: ClassWizard database Pin
yeeeooowww29-Oct-02 1:37
yeeeooowww29-Oct-02 1:37 
GeneralProblem with ShellExtension on Win98 Pin
KaЯl21-Oct-02 5:30
KaЯl21-Oct-02 5:30 
QuestionCStringT::Tokenize too slow??? Pin
LukeV20-Oct-02 17:28
LukeV20-Oct-02 17:28 
AnswerRe: CStringT::Tokenize too slow??? Pin
Tim Smith21-Oct-02 10:26
Tim Smith21-Oct-02 10:26 
QuestionHow can I set the pos and size of my control? Pin
Anonymous19-Oct-02 20:48
Anonymous19-Oct-02 20:48 
GeneralSTL - list.erase and list.remove Pin
#realJSOP18-Oct-02 6:26
professional#realJSOP18-Oct-02 6:26 
GeneralRe: STL - list.erase and list.remove Pin
User 988518-Oct-02 6:40
User 988518-Oct-02 6:40 
GeneralRe: STL - list.erase and list.remove Pin
Michael Dunn18-Oct-02 13:19
sitebuilderMichael Dunn18-Oct-02 13:19 
GeneralRe: STL - list.erase and list.remove Pin
#realJSOP19-Oct-02 1:10
professional#realJSOP19-Oct-02 1:10 
GeneralRe: STL - list.erase and list.remove Pin
Tim Smith21-Oct-02 10:16
Tim Smith21-Oct-02 10:16 
Generalmap and hash_map Pin
User 988518-Oct-02 4:13
User 988518-Oct-02 4:13 
GeneralRe: map and hash_map Pin
Tim Smith21-Oct-02 10:14
Tim Smith21-Oct-02 10:14 
GeneralRe: map and hash_map Pin
Joaquín M López Muñoz21-Oct-02 10:28
Joaquín M López Muñoz21-Oct-02 10:28 

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.