OLE DB template in VS2005 VC++ project

Hi alls,
Is it possible to use OLEDB template (OLEDB Consumer )
 in Smart Device WTL( | ATL)  project in VS2005 Beta2

Thanks


Answer this question

OLE DB template in VS2005 VC++ project

  • John06053

    If you mean ATL Data, that is not provided by in the Visual Studio 2005 ATL for Smart Devices.  If not, I'd imagine the libraries are not mutually exclusive, but I'm not familiar with the one you are referencing, so I don't know for certain.


  • faithfuldave

    Hi Josh,
    I found solution with headers from Pocket SDK 2003 . 

    I used atldbcli.h with CVirtualBuffer from atlbase.h (SDK 2003 ).

    So I defined 2 types :

    typedef DWORD DBSTATUS
    typedef DWORD DBLENGTH

    Macro DEFINE_COMMAND_EX generated by ATL Wizard is replaced by

    DEFINE_COMMAND

    @+





     

  • OLE DB template in VS2005 VC++ project