Re: Compile error with #import <msado15.dll>
- From: "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 23:35:13 +0400
Sorry, no ADO and no database access in the kernel. Write the helper user
service which will access the database and pump the data to the driver.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
"Erik" <erik.hermansson@xxxxxxxxxxxx> wrote in message
news:1124975355.420000.72870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I'm trying to access an SQL Server from my driver using ADO, but when I
> add
>
> #import <msado15.dll> no_namespace rename("EOF", "adoEOF")
>
> to my file I get compile errors. The output from the compiler is as
> follows:
>
> c:\winddk\2600.1106\inc\sdk\ocidl.h(408) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(571) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(756) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(919) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(1211) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(1581) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(1756) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(1995) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(2484) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(2642) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(2764) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(3382) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(3534) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(4151) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(6105) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(6475) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(6637) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(6981) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(7138) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(7271) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(7468) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\ocidl.h(8025) : error C2062: type 'void'
> unexpected
> c:\winddk\2600.1106\inc\sdk\crt\comutil.h(1086) : error C2440: '=' :
> cannot conv
> ert from 'void *' to 'IUnknown *'
> c:\winddk\2600.1106\inc\sdk\crt\comutil.h(1591) : error C2440: '=' :
> cannot conv
> ert from 'void *' to 'IUnknown *'
> c:\winddk\2600.1106\inc\sdk\crt\comip.h(29) : error C2628: 'struct'
> followed by
> 'void' is illegal (did you forget a ';'?)
> c:\winddk\2600.1106\inc\sdk\crt\comdef.h(1078) : error C2786: 'void' :
> invalid o
> perand for __uuidof
> c:\winddk\2600.1106\src\print\xpd\objchk_wxp_x86\i386\msado15.tlh(0) :
> error C19
> 03: unable to recover from previous error(s); stopping compilation
> Compiling - generating code... for i386
> Building Library - objchk_wxp_x86\i386\oemui.lib for i386
> lib : error LNK1181: cannot open input file
> 'objchk_wxp_x86\i386\dbase.obj'
> BUILD: Compile errors: not linking c:\winddk\2600~1.110\src\print\xpd
> directory
> BUILD: Done
>
> 9 files compiled - 27 Errors - 782 LPS
> 1 library built - 1 Error
>
> What's going on?
>
> Thanks /Erik
>
.
- Follow-Ups:
- Re: Compile error with #import <msado15.dll>
- From: Erik
- Re: Compile error with #import <msado15.dll>
- References:
- Compile error with #import <msado15.dll>
- From: Erik
- Compile error with #import <msado15.dll>
- Prev by Date: RE: Get or Verify a Wireless Adapter based on Windows XP
- Next by Date: Re: Declaration and definition change in ddk 3790.1830
- Previous by thread: Re: Compile error with #import <msado15.dll>
- Next by thread: Re: Compile error with #import <msado15.dll>
- Index(es):
Relevant Pages
|