RE: About ADOCE3.1 installing on PPC 2003
From: Rita (Rita_at_discussions.microsoft.com)
Date: 08/31/04
- Next message: Nick: "RE: about eVC4 installation"
- Previous message: Andrey Yatsyk: "Re: PPC 2002 Platform SDK for eVC 4.0 ???"
- In reply to: CoolStar: "About ADOCE3.1 installing on PPC 2003"
- Next in thread: CoolStar: "Re: About ADOCE3.1 installing on PPC 2003"
- Reply: CoolStar: "Re: About ADOCE3.1 installing on PPC 2003"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 31 Aug 2004 03:45:02 -0700
Hi,
install the adoce31.sa.cab that you can find in adoce31.zip (the link
http://www.pocketpcdn.com/articles/adoce_setup.html is valid)
then you need to build the adoce31.tlb file that is not included in ADOCE
3.1 SDK. You will have to extract this file from adoce31.idl file which
is included in SDK. You need to find and run midl.exe utility from DOS
command prompt window (CMD). The midl.exe utility
is located by default in:
C:\Program Files\Microsoft eMbedded C++ 4.0\EVC\wce420\bin
First you will need to copy several files into above directory so they are
in the same folder as midl.exe:
1. adoce31.idl
(from C:\Windows CE Tools\wce300\Pocket PC 2002\dataaccess31\include)
2. oaidl.idl
3. objidl.idl
4. unknwn.idl
5. wtypes.idl
(all 5 come from C:\Windows CE Tools\wce300\Pocket PC 2002\include)
then from dos command prompt window, run midl.exe:
C:\Program Files\Microsoft eMbedded C++ 4.0\EVC\wce420\bin> midl adoce31.idl
it will generate these files:
adoce31.h
adoce31.tlb
adoce31_i.c
adoce31_p.c
copy these back to yuor wince420 include directory:
C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4
In Ado.h change #import to reflect location of your adoce31.tlb file.
Please note that you should have ADOCE 31 SDK, Pocket PC SDK 2002 and Pocket
PC SDK 2003 installed.
then you can use the classes that find at
http://www.codeproject.com/ce/ado_ce_ca.asp
to access database.
I think that with adoce you can access to Sql Server or MS Access database,
so you have to convert your Oracle database into Sql Server or MS Access
database and transfer it to pda with Activesync or DESKTOPTODEVICE
(programmatically from descktop).
Good luck!
"CoolStar" wrote:
> I'm a beginner , too.
> now i have to access Oracle Lite by ADOCE(EVC 4), but i have a problem when
> install ADOCE3.1 on PPC2003 SDK. maybe adoce needs an old version SDK...
>
> Who can tell me how to install it and access Oracle Lite by ADOCE?
> the Link is not valid again.
> http://www.pocketpcdn.com/articles/adoce_setup.html
>
> thanks a lot!!!
>
> CoolStar
>
>
- Next message: Nick: "RE: about eVC4 installation"
- Previous message: Andrey Yatsyk: "Re: PPC 2002 Platform SDK for eVC 4.0 ???"
- In reply to: CoolStar: "About ADOCE3.1 installing on PPC 2003"
- Next in thread: CoolStar: "Re: About ADOCE3.1 installing on PPC 2003"
- Reply: CoolStar: "Re: About ADOCE3.1 installing on PPC 2003"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|