Click here to Skip to main content
15,892,737 members
Home / Discussions / Database
   

Database

 
GeneralRe: OLEDB vs SQLCLient Pin
obelisk2923-Sep-03 7:21
obelisk2923-Sep-03 7:21 
GeneralDAO and Access 2000/2002 Pin
Chris Losinger22-Sep-03 10:41
professionalChris Losinger22-Sep-03 10:41 
GeneralRe: DAO and Access 2000/2002 Pin
Steve S30-Sep-03 5:35
Steve S30-Sep-03 5:35 
Generalusing msado15 with windows 95 Pin
umarcool22-Sep-03 0:28
umarcool22-Sep-03 0:28 
GeneralRe: using msado15 with windows 95 Pin
Steve S22-Sep-03 2:12
Steve S22-Sep-03 2:12 
GeneralRe: Works but queries Pin
umarcool22-Sep-03 20:44
umarcool22-Sep-03 20:44 
GeneralWorks but queries Pin
umarcool22-Sep-03 20:52
umarcool22-Sep-03 20:52 
GeneralRe: Works but queries Pin
Steve S24-Sep-03 4:42
Steve S24-Sep-03 4:42 
1. If there's no MSADO15.DLL, it won't work; this is why MDAC 2.x needs to be installed.
2. If it's on a different path, it would work (since at runtime you're using the registry entries to locate stuff -- part of COM)
3. You won't ship MSADO15.DLL with your app.

What #import does is examine the type library of the specified file (in this case MSADO15.DLL) and it then generates .TLH and possibly .TLI files. These are compiler-generated, usually once in a project, and automatically pulled in when the source module (CPP or H file) is used by the compiler. These define the appropriate interface wrappers with methods etc, and normally include definitions for things like smart pointers using the CComPtr template.

It definitely does NOT pull in any DLLs into your app. The stuff it produces means that it's easier to work with COM objects in C++, almost as easy as with VB.

Hope this helps.

Steve S
Generalusing msado15 without absolute path. Pin
umarcool22-Sep-03 0:25
umarcool22-Sep-03 0:25 
GeneralDataBindings Pin
bordonhos21-Sep-03 22:45
bordonhos21-Sep-03 22:45 
Generaldisplay data Pin
ranjjj20-Sep-03 23:22
ranjjj20-Sep-03 23:22 
GeneralMultiple SQL Query Pin
MKlucher20-Sep-03 10:21
MKlucher20-Sep-03 10:21 
GeneralRe: Multiple SQL Query Pin
Ian Darling20-Sep-03 11:44
Ian Darling20-Sep-03 11:44 
GeneralRe: Multiple SQL Query Pin
MKlucher20-Sep-03 19:40
MKlucher20-Sep-03 19:40 
Generalconnection problem, error message Pin
Giovanni Bejarasco19-Sep-03 6:11
Giovanni Bejarasco19-Sep-03 6:11 
GeneralRe: connection problem, error message Pin
Mike Dimmick20-Sep-03 12:34
Mike Dimmick20-Sep-03 12:34 
GeneralRe: connection problem, error message Pin
Giovanni Bejarasco23-Sep-03 18:15
Giovanni Bejarasco23-Sep-03 18:15 
GeneralWinforms - Connecting to SQL database on another intranet PC Pin
sunny12318-Sep-03 21:53
sunny12318-Sep-03 21:53 
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
Arjan Einbu18-Sep-03 22:30
Arjan Einbu18-Sep-03 22:30 
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
sunny12319-Sep-03 2:33
sunny12319-Sep-03 2:33 
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
Rob Graham20-Sep-03 18:07
Rob Graham20-Sep-03 18:07 
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
sunny12320-Sep-03 20:13
sunny12320-Sep-03 20:13 
GeneralRe: Winforms - Connecting to SQL database on another intranet PC Pin
Braulio Dez22-Sep-03 5:24
Braulio Dez22-Sep-03 5:24 
GeneralPlease help: Converting from SQL server 2000 to sql 7.0 Pin
Hoornet9318-Sep-03 21:13
Hoornet9318-Sep-03 21:13 
GeneralRe: Please help: Converting from SQL server 2000 to sql 7.0 Pin
Steve S18-Sep-03 22:13
Steve S18-Sep-03 22:13 

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.