Click here to Skip to main content
15,892,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Problem!!! Pin
David Crow24-Oct-07 7:30
David Crow24-Oct-07 7:30 
AnswerRe: Problem!!! Pin
jhwurmbach24-Oct-07 22:39
jhwurmbach24-Oct-07 22:39 
QuestionCreating a form at runtime Pin
Demian Panello24-Oct-07 6:23
Demian Panello24-Oct-07 6:23 
QuestionUsing ADO or OLE DB with VC++ Pin
Stevej24-Oct-07 5:54
Stevej24-Oct-07 5:54 
AnswerRe: Using ADO or OLE DB with VC++ Pin
led mike24-Oct-07 7:13
led mike24-Oct-07 7:13 
GeneralRe: Using ADO or OLE DB with VC++ Pin
Stevej24-Oct-07 8:12
Stevej24-Oct-07 8:12 
GeneralRe: Using ADO or OLE DB with VC++ [modified] Pin
led mike24-Oct-07 8:49
led mike24-Oct-07 8:49 
AnswerRe: Using ADO or OLE DB with VC++ Pin
DQNOK24-Oct-07 11:02
professionalDQNOK24-Oct-07 11:02 
ADO is a layer on OLE DB. Unless you enjoy pain, I would not recommend programming the OLE DB directly. I'd be very surprised if there were any significant differences between ADO and OLE DB. Any real application is likely going to need the services ADO offers, and if you use OLE DB directly, you'll just end up reproducing many of those services yourself.

I've not done any performance testing, but I've seen all sorts of performance claims from all the technologies. It also depends strongly on the database one is connecting to: it has to be optimized for the connection technology. I believe IBM (DB2) recommends OLE DB, while Oracle gets better performance from ODBC (but don't quote me on that: I might be wrong). see http://www.datadirect.com/products/odbc/raisestd/index.ssp#1[^] for discussion of performance on one product.

Microsoft of course is going to push their latest technology, ADO.NET (I guess, unless they've changed it yet again; very frustrating to try to keep up with their constantly moving targets). Since they write the connection layers, they also optimize their database to talk to that layer. If performance is ultimate, stick with the latest Microsoft technology (and plan to spend $$$ upgrading it constantly). If you want portability, ODBC is probably king, and apparently pretty decent performance. ADO can also talk to ODBC but thru a layer, and maybe some performace hit.

david
QuestionHow to change windows desktop appearance through VC++/MFC ? Pin
cagespear24-Oct-07 5:46
cagespear24-Oct-07 5:46 
AnswerRe: How to change windows desktop appearance through VC++/MFC ? Pin
David Crow24-Oct-07 5:49
David Crow24-Oct-07 5:49 
AnswerRe: How to change windows desktop appearance through VC++/MFC ? Pin
Hamid_RT25-Oct-07 4:27
Hamid_RT25-Oct-07 4:27 
QuestionData parsers Pin
epsilonorion24-Oct-07 5:33
epsilonorion24-Oct-07 5:33 
AnswerRe: Data parsers Pin
jhwurmbach24-Oct-07 5:57
jhwurmbach24-Oct-07 5:57 
QuestionHELP on MFC and ImageMagicK/GraphicsMagicK Pin
purplee8524-Oct-07 5:22
purplee8524-Oct-07 5:22 
AnswerRe: HELP on MFC and ImageMagicK/GraphicsMagicK Pin
JudyL_MD24-Oct-07 6:54
JudyL_MD24-Oct-07 6:54 
QuestionSerial COM port used by unknown Pin
blueluna24-Oct-07 5:14
blueluna24-Oct-07 5:14 
AnswerRe: Serial COM port used by unknown Pin
Randor 24-Oct-07 10:45
professional Randor 24-Oct-07 10:45 
QuestionUserDefinedProperties Pin
AeJai24-Oct-07 4:29
AeJai24-Oct-07 4:29 
AnswerRe: UserDefinedProperties Pin
Roger Broomfield24-Oct-07 17:51
Roger Broomfield24-Oct-07 17:51 
QuestionMaximize Function Pin
Brian Deragon24-Oct-07 3:24
Brian Deragon24-Oct-07 3:24 
AnswerRe: Maximize Function Pin
led mike24-Oct-07 5:03
led mike24-Oct-07 5:03 
QuestionWhy FindTextW fails when RICHEDIT20W ctrl is used... Pin
nagamohan_p24-Oct-07 3:05
nagamohan_p24-Oct-07 3:05 
QuestionRe: Why FindTextW fails when RICHEDIT20W ctrl is used... Pin
David Crow24-Oct-07 3:31
David Crow24-Oct-07 3:31 
AnswerRe: Why FindTextW fails when RICHEDIT20W ctrl is used... Pin
nagamohan_p24-Oct-07 4:51
nagamohan_p24-Oct-07 4:51 
GeneralRe: Why FindTextW fails when RICHEDIT20W ctrl is used... Pin
David Crow24-Oct-07 5:02
David Crow24-Oct-07 5:02 

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.