Database
-
Hi, I need to read and use a database on PocketPC using embedded visual C++ 3. This is an Access database. What are the classes that are supported and that I can use? I really don't know wich direction to choose, so any idea is welcome! Thanks
-
Hi, I need to read and use a database on PocketPC using embedded visual C++ 3. This is an Access database. What are the classes that are supported and that I can use? I really don't know wich direction to choose, so any idea is welcome! Thanks
You can use ADOCE for that, but there is no C++ wrapper available. You will have to write your own or wait until I port Carlos Antollini's classes. Regards, João Paulo
-
You can use ADOCE for that, but there is no C++ wrapper available. You will have to write your own or wait until I port Carlos Antollini's classes. Regards, João Paulo
Ok thanks ! BTW, don't you have any sample code so I can start quickly ? Thanks
-
Hi, I need to read and use a database on PocketPC using embedded visual C++ 3. This is an Access database. What are the classes that are supported and that I can use? I really don't know wich direction to choose, so any idea is welcome! Thanks
There is a good article of how to use ADOCE with eMbedded Visual C++ 3.0: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_ecplus.asp -BHKien
-
There is a good article of how to use ADOCE with eMbedded Visual C++ 3.0: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_ecplus.asp -BHKien
Ok, thanks!! I'll take a look at it :-)
-
You can use ADOCE for that, but there is no C++ wrapper available. You will have to write your own or wait until I port Carlos Antollini's classes. Regards, João Paulo
-
BTW ADOCE used with C++ is unsupported from MS, just to let you know. MS suggests to use OLEDB with C++ under CE
besmel wrote: BTW ADOCE used with C++ is unsupported from MS Yeah, they do say a lot of crap... ADOCE is supported by C++ and in more than one way: you can either use the
#import
directive or generate the necessary header files with MIDL. It's all there. besmel wrote: MS suggests to use OLEDB with C++ under CE Sure, we are talking performance here (and I also prefer it). But in the support groups I've seen a lot of people asking for ADOCE C++ support, and that's what I'm planning to do in an upcoming article. Regards, João Paulo -
Ok, thanks!! I'll take a look at it :-)
The Virtual Office Systems classes are very basic. When I first tried them, I had to make major changes before I got them to do what I wanted. Eventually, I wrote my own. Regards, João Paulo
-
besmel wrote: BTW ADOCE used with C++ is unsupported from MS Yeah, they do say a lot of crap... ADOCE is supported by C++ and in more than one way: you can either use the
#import
directive or generate the necessary header files with MIDL. It's all there. besmel wrote: MS suggests to use OLEDB with C++ under CE Sure, we are talking performance here (and I also prefer it). But in the support groups I've seen a lot of people asking for ADOCE C++ support, and that's what I'm planning to do in an upcoming article. Regards, João Paulo -
Joao, When I say it's unsupported doesn't mean you can't use it. The problem is if you need assistance or you ask for a pay per incident support. In this case you get that the tools you used (ADOCE C++) are unsupported and you get stucked... that's all
besmel wrote: In this case you get that the tools you used (ADOCE C++) are unsupported and you get stucked... That's why there is a CodeProject: we can always find help with each other. ;) My small rant with MS is that they tend to say a lot of things that are not accurate and tend to send developers away from interesting things, like this one. I've been successfully using ADOCE for over a year in my projects. The OLE DB option is now up because I do really need the extra performance. Regards, João Paulo
-
Hi, I need to read and use a database on PocketPC using embedded visual C++ 3. This is an Access database. What are the classes that are supported and that I can use? I really don't know wich direction to choose, so any idea is welcome! Thanks
Check here: A set of ADOCE classes[^] Regards, João Paulo
-
Hi, I need to read and use a database on PocketPC using embedded visual C++ 3. This is an Access database. What are the classes that are supported and that I can use? I really don't know wich direction to choose, so any idea is welcome! Thanks
ok, Thanks a lot to everybody !! I think, now I have a good idea where to start ;-)
-
Check here: A set of ADOCE classes[^] Regards, João Paulo
Hello, When I tried to comiple I am getting the follwoing error: I don't have this file in the following specified location: What should I do for this error and How to build it successfully. Please guide me #import "C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb" rename_namespace("ADOCG") rename("EOF", "EndOfFile") using namespace ADOCG; --------------------Configuration: AdoSample - Win32 (WCE ARM) Debug-------------------- Compiling... ado.cpp D:\user\siva\projMobile\references\ADOCE Filtering\ADOCE\AdoSample\AdoSample\ado.h(42) : fatal error C1083: Cannot open type library file: 'C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb': No such file or directory AdoSample.cpp D:\user\siva\projMobile\references\ADOCE Filtering\ADOCE\AdoSample\AdoSample\ado.h(42) : fatal error C1083: Cannot open type library file: 'C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb': No such file or directory ChildView.cpp D:\user\siva\projMobile\references\ADOCE Filtering\ADOCE\AdoSample\AdoSample\ado.h(42) : fatal error C1083: Cannot open type library file: 'C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb': No such file or directory MainFrm.cpp D:\user\siva\projMobile\references\ADOCE Filtering\ADOCE\AdoSample\AdoSample\ado.h(42) : fatal error C1083: Cannot open type library file: 'C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb': No such file or directory Generating Code... Error executing clarm.exe. AdoSample.exe - 4 error(s), 0 warning(s)
-
Check here: A set of ADOCE classes[^] Regards, João Paulo
Hi, How to check that the #import directive in ado.h is correct for my development environment. Awaiting for your reply. Thanks, Siva
-
Hello, When I tried to comiple I am getting the follwoing error: I don't have this file in the following specified location: What should I do for this error and How to build it successfully. Please guide me #import "C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb" rename_namespace("ADOCG") rename("EOF", "EndOfFile") using namespace ADOCG; --------------------Configuration: AdoSample - Win32 (WCE ARM) Debug-------------------- Compiling... ado.cpp D:\user\siva\projMobile\references\ADOCE Filtering\ADOCE\AdoSample\AdoSample\ado.h(42) : fatal error C1083: Cannot open type library file: 'C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb': No such file or directory AdoSample.cpp D:\user\siva\projMobile\references\ADOCE Filtering\ADOCE\AdoSample\AdoSample\ado.h(42) : fatal error C1083: Cannot open type library file: 'C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb': No such file or directory ChildView.cpp D:\user\siva\projMobile\references\ADOCE Filtering\ADOCE\AdoSample\AdoSample\ado.h(42) : fatal error C1083: Cannot open type library file: 'C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb': No such file or directory MainFrm.cpp D:\user\siva\projMobile\references\ADOCE Filtering\ADOCE\AdoSample\AdoSample\ado.h(42) : fatal error C1083: Cannot open type library file: 'C:\Windows CE Tools\wce300\Pocket PC 2002\include\adoce31.tlb': No such file or directory Generating Code... Error executing clarm.exe. AdoSample.exe - 4 error(s), 0 warning(s)
Find the
adoce31.tlb
file and make the#import
directive point there. If you do not have this file on your PC, download it from Microsoft Website (search for ADOCE 3.1) and install it. Regards, João Paulo