Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Database

Database

Scheduled Pinned Locked Moved Mobile
c++databasehardwarequestion
15 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Joao Paulo Figueira

    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

    C Offline
    C Offline
    Cedric Moonen
    wrote on last edited by
    #3

    Ok thanks ! BTW, don't you have any sample code so I can start quickly ? Thanks

    1 Reply Last reply
    0
    • C Cedric Moonen

      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

      B Offline
      B Offline
      Bui Huy Kien
      wrote on last edited by
      #4

      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

      C 1 Reply Last reply
      0
      • B Bui Huy Kien

        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

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #5

        Ok, thanks!! I'll take a look at it :-)

        J 1 Reply Last reply
        0
        • J Joao Paulo Figueira

          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

          B Offline
          B Offline
          besmel
          wrote on last edited by
          #6

          BTW ADOCE used with C++ is unsupported from MS, just to let you know. MS suggests to use OLEDB with C++ under CE

          J 1 Reply Last reply
          0
          • B besmel

            BTW ADOCE used with C++ is unsupported from MS, just to let you know. MS suggests to use OLEDB with C++ under CE

            J Offline
            J Offline
            Joao Paulo Figueira
            wrote on last edited by
            #7

            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

            B 1 Reply Last reply
            0
            • C Cedric Moonen

              Ok, thanks!! I'll take a look at it :-)

              J Offline
              J Offline
              Joao Paulo Figueira
              wrote on last edited by
              #8

              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

              1 Reply Last reply
              0
              • J Joao Paulo Figueira

                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

                B Offline
                B Offline
                besmel
                wrote on last edited by
                #9

                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

                J 1 Reply Last reply
                0
                • B besmel

                  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

                  J Offline
                  J Offline
                  Joao Paulo Figueira
                  wrote on last edited by
                  #10

                  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

                  1 Reply Last reply
                  0
                  • C Cedric Moonen

                    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

                    J Offline
                    J Offline
                    Joao Paulo Figueira
                    wrote on last edited by
                    #11

                    Check here: A set of ADOCE classes[^] Regards, João Paulo

                    A 2 Replies Last reply
                    0
                    • C Cedric Moonen

                      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

                      C Offline
                      C Offline
                      Cedric Moonen
                      wrote on last edited by
                      #12

                      ok, Thanks a lot to everybody !! I think, now I have a good idea where to start ;-)

                      1 Reply Last reply
                      0
                      • J Joao Paulo Figueira

                        Check here: A set of ADOCE classes[^] Regards, João Paulo

                        A Offline
                        A Offline
                        AKSIVAKUMAR
                        wrote on last edited by
                        #13

                        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)

                        J 1 Reply Last reply
                        0
                        • J Joao Paulo Figueira

                          Check here: A set of ADOCE classes[^] Regards, João Paulo

                          A Offline
                          A Offline
                          AKSIVAKUMAR
                          wrote on last edited by
                          #14

                          Hi, How to check that the #import directive in ado.h is correct for my development environment. Awaiting for your reply. Thanks, Siva

                          1 Reply Last reply
                          0
                          • A AKSIVAKUMAR

                            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)

                            J Offline
                            J Offline
                            Joao Paulo Figueira
                            wrote on last edited by
                            #15

                            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

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups