|
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).
|
|
|
|
|
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/
|
|
|
|