|
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).
|
|
|
|
|
Dear Friends,
I got that i can not fix the starting address of the
shared memory. Actually my problem is below.
I am creating shared memory using CreateFileMapping().
By using the MapViewOfFile() i am creating a view for
the shared memory i want. I want to create this view
at my specified address always(ie how many times i
call the MapViewOfFile() i want it to be created
always at specified address). I can do that using
lpBaseAddress parameter of MapViewOfFileEx(). But
this function is not supported in Windows CE .NET.
Can anybody suggest any alternative for this.
Thanks and Best Regards,
subramjobmail,
2003/07/02 (15:16 JST).
|
|
|
|
|
Hi, I'd appreciate if anyone could give me a hand on the following. I have a project and am supposed to develop an interface for controlling an underwater robot. I am using Visual Tools and so far I've only been using eVB for my interface. The guys responsible for the robot provided me with all the code necessary for commanding it and giving status information and stuff, and it's in C++.
Well my question is this : to make eVB work with C++(eVC++) I have to create a .dll file that will encapsulate all the C++ functions necessary for my controls? Like when for example I wanna make the robot move forward by pressing KeyUp , I 'll be using event KeyUp 38 or something to trap the hardware button, so in order to send through the network the message that includes the command to tell the robot to move forward, I have to create a .dll containing that C++ command so that my eVB application can talk with it?
I hope you are not freakin out by the level of my ignorance but I'm new to VB and I'm not proud of my C++ skills, as for why I am stuck with a project like this? Coz I wanna learn my VB and C++
|
|
|
|
|
embeddedVersuS wrote:
I have to create a .dll file that will encapsulate all the C++ functions necessary for my controls?
Short answer: Yes.
|
|
|
|
|
i need a mfc program that help me to search bluetooth
|
|
|
|
|
What do you need to look for? Do you want to search for other devices, or you want to detect if the bluetooth functionality is present in your device?
|
|
|
|
|
TQ, what i mean here is, actually search for other device. Actually i has a bluetooth development kit from erricson. now my problem is command in MFC that help me establish a connection to this kit through serial connection. hope you can help me.
|
|
|
|
|
Arghhhh... That is exactly the question I don't know the answer for...
|
|
|
|
|
Do you want do the job with WindowsAPI?
|
|
|
|
|
Hi,
is there the possibility to select and highlight an item in the ListCtrl
only with a tap on it and how can i use "tap and hold" with a CListCtrl?
And is that even possible with Win CE < 3.0?
Thanks,
Frank
_____ easySMS for pocket PC _____
www.Siedler-Net.de/WinCE/easySMS/
|
|
|
|
|
Hi,
Check my article on this subject: Handling tap-and-hold[^]. In this article I explain a technique that allows you to select an item using a tap while keeping the tap-and-hold capability: you have to correctly handle the NM_CLICK notification. This notification will be sent after a normal tap and after a tap-and-hold operation. When you handle the tap-and-hold (through the GN_CONTEXTMENU notification), use a flag to store this state, ans test it in the NM_CLICK handler. If the flag is TRUE , this is a tap-and-hold, otherwise it is a normal tap.
I know nothing about Windows CE < 3.0...
Hope this helps.
|
|
|
|
|
Hi,
i have read your article ... but it doesn't work with my DialogBox Window
which has a CListCtrl Window inside. That was build with the Resource
Manager.
So, if i tap on the CListCtrl Window nothing happens, only if i tap beside
where the DialogWindow is. The message is only handled if i tap on
the Dialog Window of my App. Is there the possibility to handle the messages
even if i tap on a Window inside that Dialog Window?
Perhaps with SetCapture() ?
Greetings,
Frank
_____ easySMS for pocket PC _____
www.Siedler-Net.de/WinCE/easySMS/
|
|
|
|
|
Frank S. wrote:
That was build with the Resource Manager.
So this means that you have a "raw" CListCtrl in your dialog? No subclassing?
Frank S. wrote:
So, if i tap on the CListCtrl Window nothing happens, only if i tap beside
where the DialogWindow is.
You mean, the red dots do not show up when you tap-and-hold the CListCtrl ? What is the platform you are working on?
I'm just trying to figure out what is happening to you. My approach has worked as well for dialogs, but it was tested only under Pocket PC 2002.
|
|
|
|
|
|
I see you are using Pocket PC 2000. I still do not understand why the list control does not adequately respond to the tap-and-hold. There can be only three answers for this: 1-The PPC2K version of the control does not handle tap-and-hold natively (I doubt it). 2-You are overriding the WM_LBUTTONDOWN message and are not allowing the control's window procedure to handle it. 3-I have no idea what is happening...
|
|
|
|
|
Hi,
i think, the CListCtrl-Subwindow in the Dialog Window doesn't send the stylus tap-recognition to the Dialog Window, so that the notification of WM_LBUTTONDOWN doesn't work. I only can handle the Click-operation in that window (tap and release) if i tap on the ListCtrl-box the selection isn't changing, only by a click it's changing. I think that's the problem, but i don't know how to handle ...
Greetings, Frank
_____ easySMS for pocket PC _____
www.Siedler-Net.de/WinCE/easySMS/
|
|
|
|
|
Is it possible to handle these input messages from the stylus with PreTranslateMessage(MSG* pMsg) ?
I have figured out, that if i use that function, i can handle the WM_LBUTTONDOWN message even if i click on the ListCtrl-window, and not only on the dialog box window. But now the problem is, that i have to know, which window in the dialog box is active and should be handled! Because the other Windows should be handled normal.
And is it normal, that the selected item in a listbox is only changing, if you are clicking on it? With normal windows applications, you only have to tap on it and it's quite changing.
Greetings,
Frank
|
|
|
|
|
I need to display data in a grid with automatic colors depending on the data (e.g. -1 = red, 0 = black, 1 = green). I've found
http://www.codeproject.com/csharp/custom_datagridcolumnstyl.asp
but this doesn't work with the compact framework.
I think the reason is that it's not possible to override the Paint methods of DataGridTextBoxColumn in the compact framework.
Is there any way to have such a datagrid (with different colors for each cell) based on the .NET compact framework datagrid or will I have to reimplement the wheel (i.e. DataGrid) for our application?
|
|
|
|
|
Hi,
I have exactly the same problem
did you find a datagrid?
anyone has an idea?
thank you!
Jermo
|
|
|
|