|
Try using ADOCE. The type library is available in the adoce31.tlb file. You can use the #import directive on this file.
|
|
|
|
|
hi
i am new to eVC++. can you please give me a sample code.
Mahesh
|
|
|
|
|
There is an article on the Database section on creating ADO classes. You can adapt it to ADOCE. There are a number of database resources here: Pocket PC Developer's Network[^].
|
|
|
|
|
Hi, Thank you for helping me before( i speak about CDC ).
Now i have another problem - this time with database. I've red a lot of materials about databases on Pocket PC, but still have some problems, for example where can i find this file : adoce31.tlb. And another one question - i've loaded one example of database using with ADO, and can't execute it on my Pocket. Thank you very much.
|
|
|
|
|
Rassul Yunussov wrote:
for example where can i find this file : adoce31.tlb
I believe this file was available on older versions of the Pocket PC 2000 and 2002 SDK. Check this:
Missing ADOCE31.TLB?[^]
Rassul Yunussov wrote:
And another one question - i've loaded one example of database using with ADO, and can't execute it on my Pocket.
If you are using Pocket PC 2003, the cdb file format has changed. You will have to re-synchronize the mdb file.
Regards,
João Paulo
|
|
|
|
|
About AdoSample - I've got this messages - Application AdoSample made the incorrect operation, and will be closed. Exception: 0xc0000005 Address: 00017610.
But this programm sucsessfully compiled on my Embeded Vc++ 3.0. I can't understand the problem.
And i tried some librarry - VOADO - this works properly but i can't connect with exactly file. I don't know where it stores the information i enter.
If you Know anything about this, please help. I'm on the very beginning of programming.
Thank YOU Verry much.
|
|
|
|
|
Are you using Pocket PC 2003?
Regards,
João Paulo
|
|
|
|
|
I really don't know i only know the version of Windows it is 3.0. I used Embeded 4.0 but programms i wrote didn't worked on my Pocket PC. And then i started to use Embeded 3.0. And everything was ok until i started to think about database . I hope this information will help . Thanks.I really appreciate your help.
|
|
|
|
|
You are definitely using Pocket PC 2002 and AdoSample should work just fine. Maybe you did not install ADOCE on your device. See how here:
QA: How can I install ADOCE 3.1?[^]
Regards,
João Paulo
|
|
|
|
|
When I bring my App to run on Windows Mobile 2003, the program cannot run. It displays a message "Record update error. Please check your data."
Any help?
-BHKien
|
|
|
|
|
The cdb format under 2003 is not the same as 2002. Can this be the problem?
|
|
|
|
|
Dear Friends,
I would like to debug a process created by MFC ActiveX Control. I am using Embedded VC++ 4.0 for debugging and Windows CE .NET.
I have followed the steps specified in the help guide for "Attaching the Debugger to Processes" section.
Once i select the WCE process and local copy of the executable file the debugger is closing my project file and getting struck up. Every time i have stop the debugger and open the project once again.
Note: At the start of process i have given some messagebox to stop the process and then attaching that process to debugger.
Can anybody specify whether i am doing properly or improper way.
Thanks and Best Regards,
Subbu,
2003/07/07 (11:20 JST).
|
|
|
|
|
environment: Microsoft eVC4 with SDK 4.0 (WCE emulator)
double C = 7*pow(16,14);
the result is 504403158265495552 in WCE Emulator or my ARM-based PPC..
however, under other platform(x86), the result is 50440315826549555"0"
does anyone know what's wrong?
|
|
|
|
|
I just tested it under the desktop's calc.exe and the result is 504403158265495552 . In what other platforms have you tested this?
|
|
|
|
|
sorry, wrong typo..
desktop is 504403158265495552 and WCE Emulator result is 504403158265495550
|
|
|
|
|
The Pocket PC has no native FPU. This may be due to rounding errors (or just plain calculation errors) in in the FPU emulator library.
|
|
|
|
|
Hello!
I use a toolbar and I need to hide/show some of the buttons depending of the "phase" of my program. For this, I use such a command:
m_wndToolBar.GetToolBarCtrl().HideButton(ID_BUTTON,FALSE);
This works when I hide some buttons, but when I want to show them again, they don't reappear (in fact, the size of the toolbar is not updated). I added a call to RecalcLayout() but this doesn't work neither!
Any idea?
Thanks
|
|
|
|
|
|
I'm building some apps for pocketPC and I've got some requirements I'm not sure I can fulfill entirely.
My apps are smart device winform apps and they use pocket access and the new apps will be utilizing sql ce 2.0.
I need a way to directly communicate with a desktop pc filesystem and access database(s). I would like to completely bypass ActiveSync and be able to control file transfer and data replication to and from a desktop pc from my pocketPC apps.
I'm using .net 1.1, C#, and MS access/pocket access. In the future I will be porting the pocketPC apps to sql ce, however these CE databases will still be communicating solely with a desktop access database.
Questions:
1. Would I need to go as far as socket programming to achieve this?
2. Can ADOCE 3.1 object communicate directly with the desktop version of access?
3. Can I manipulate the filesystem of my desktop pc from a pocketPC app?
Can someone please point me to some examples of how this could be done?
Thanks very much!!
V. Jenks
scientifik.com
****************************
V. Jenks
www.scientifik.com
|
|
|
|
|
Aroogala wrote:
1. Would I need to go as far as socket programming to achieve this?
If you are using Access databases on the desktop, there are only two ways to synchronize data: through ActiveSync, and the ADOCE filter. The first one is out of the question, and the second (described in this article[^]) is started from the desktop. If you want to start the synchronization process from the device, you will have to either implement it yourself or upgrade to SQL Server CE.
Aroogala wrote:
2. Can ADOCE 3.1 object communicate directly with the desktop version of access?
Unfortunately, no.
Aroogala wrote:
3. Can I manipulate the filesystem of my desktop pc from a pocketPC app?
I believe your only option for this is through a LAN connection.
|
|
|
|
|
OK, this must be a stupid newbie question, because it seems so obvious and I can't find the answer anywhere:
How do I use STL stuff in eVC? I'm building an MFC app and would like to use vector, list, etc, but danged if I can find the right includes or other arcana needed to make things compile.
What am I missing? Does evc not provide this stuff?
thanks for any help!
|
|
|
|
|
aseiden wrote:
Does evc not provide this stuff?
Nope, it does not.
aseiden wrote:
What am I missing?
A 3rd party STL implementation. You can download one here[^]. (This is the one I'm using)
Dinkumware[^] is supposed to have one thats supports pockets pc's too, but I've never tried it. I've also heard that it doesnt support std::wstring, but I cannot verify that.
I've heard rumors that someone managed to coax STLPort[^] to work with Pocket pc's, but I've never tried it.
HTH
Jonas
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
ahh, thanks much! I was going nuts looking for this stuff.
|
|
|
|
|
How do you "auto-scale" data points on a graph?
the data will be received at a constant frequency.
I will be receiving data from a CAN/bluetooth gateway on a vehicle.
How do I go about graphing and receiving those data points and putting them on both a line and bar graph?
Thanks.
|
|
|
|
|
Dear Friends,
Did anybody knows how to create shared memory in C language that
will always having the same starting address.
I have a situation where i need to have shared memory concept to share
data between multi processes. But at the same time i want my shared
memory should only start from say 0x00112233 location.
My environment is Windows CE .NET (ARM processor) and using C language for programming.
Can anybody help me in this regard.
Thanks and Best Regards,
subramjobmail,
2003/07/01 (16:36 JST).
|
|
|
|