Click here to Skip to main content
15,905,686 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
AKSIVAKUMAR3-Jun-04 0:16
AKSIVAKUMAR3-Jun-04 0:16 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
João Paulo Figueira3-Jun-04 1:38
professionalJoão Paulo Figueira3-Jun-04 1:38 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
AKSIVAKUMAR3-Jun-04 21:19
AKSIVAKUMAR3-Jun-04 21:19 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
João Paulo Figueira3-Jun-04 22:36
professionalJoão Paulo Figueira3-Jun-04 22:36 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
AKSIVAKUMAR3-Jun-04 22:56
AKSIVAKUMAR3-Jun-04 22:56 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
cmk3-Jun-04 23:54
cmk3-Jun-04 23:54 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
AKSIVAKUMAR4-Jun-04 2:25
AKSIVAKUMAR4-Jun-04 2:25 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
cmk4-Jun-04 10:03
cmk4-Jun-04 10:03 
It's not my code. I don't think it will compile as is under EVC. It is one of the few simple examples out there on how to use OLEDB. You will have to read, understand, and likely rewrite a little to get it to compile for PPC 2002. The same goes for getting it to work for PPC 2003.

I did a project for a client (so can't give out code) where i used the following to get OLEDB to work with EVC3 and PPC2002.

my stdafx.h file starts with :

#define VC_EXTRALEAN
#include <windows.h>

#define OLEDBVER 0x210
#define DBINITCONSTANTS
#define INITGUID

// OLEDB Files:
#include <oledb.h>
#include <oledberr.h>
#include <msdasc.h> // OLE DB Service Component header
#include <msdaguid.h> // OLE DB Root Enumerator

#include <coguid.h>

#include <ssceoledb.h> // SSCE

#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <atlbase.h>

#include <afxtempl.h>

#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#include <afxdisp.h> // MFC OLE automation classes
#include <afxcmn.h> // MFC support for Windows Common Controls

#include <afxsock.h> // MFC socket extensions
#include <wcesock.h>

and, stdafx.cpp contains :
#pragma comment(lib, "oledb.lib")

and, my list of include directories has :
c:\...\SQLCE\INC

and, my list of lib directories has :
c:\...\SQLCE\LIB\ARM\SA1100

(replace ... with path to SQLCE install directory on desktop computer)


...cmk

Save the whales - collect the whole set
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
AKSIVAKUMAR4-Jun-04 22:44
AKSIVAKUMAR4-Jun-04 22:44 
GeneralRe: Any samples for OLEDB API's for accessing Windows CE SQL Server Pin
cmk5-Jun-04 11:50
cmk5-Jun-04 11:50 
GeneralAny tools for unit testing Pin
kotasuresh197630-May-04 19:19
kotasuresh197630-May-04 19:19 
GeneralRe: Any tools for unit testing Pin
João Paulo Figueira30-May-04 22:09
professionalJoão Paulo Figueira30-May-04 22:09 
GeneralWi-Fi and PocketPC Emulator Pin
D.J.Deky27-May-04 1:10
D.J.Deky27-May-04 1:10 
GeneralUnicode file reading... Pin
GDavy26-May-04 22:45
GDavy26-May-04 22:45 
GeneralRe: Unicode file reading... Pin
João Paulo Figueira27-May-04 1:14
professionalJoão Paulo Figueira27-May-04 1:14 
GeneralSQLCE Exception during .AddSubscription Pin
fume25-May-04 23:27
fume25-May-04 23:27 
GeneralUser Controls Pin
Nick Seng24-May-04 17:02
Nick Seng24-May-04 17:02 
Generalcustom control eVC++ Pin
Member 109698024-May-04 7:25
Member 109698024-May-04 7:25 
GeneralEVC++ to Flash Comunication.... Pin
Deepa Gopal23-May-04 21:39
Deepa Gopal23-May-04 21:39 
GeneralRestarting DHCP Client from Driver Pin
gomathy_p_iyer20-May-04 21:36
sussgomathy_p_iyer20-May-04 21:36 
General.net Compact framework Pin
ppp00120-May-04 8:58
ppp00120-May-04 8:58 
GeneralRe: .net Compact framework Pin
dormi33331-May-04 20:38
dormi33331-May-04 20:38 
GeneralVisual Inheritance in Smart Devices Project Pin
rmcw17-May-04 11:05
rmcw17-May-04 11:05 
Questioncompactflash in .net compact framework? Pin
3hrguy16-May-04 20:27
3hrguy16-May-04 20:27 
General.NET CF SDK Pin
monn13-May-04 19:40
monn13-May-04 19:40 

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.