windows-ce

Boost C++ and Windows CE 6.0

社会主义新天地 提交于 2019-12-03 09:32:36
I've succefully built STLPort and Boost c++ for Windows CE 6.0. I can run application with Windows CE 6 and STLPort both in debug end release mode. I've built boost with the following batch file: @echo off cls :build :release echo building boost in release shared library bjam ^ --with-system ^ --with-chrono ^ --with-date_time ^ --with-thread ^ --with-atomic ^ toolset=msvc-9.0~CEPlatform ^ variant=release ^ threading=multi ^ stdlib=stlport-5.2.1 ^ link=shared ^ runtime-link=shared :debug echo building boost in debug shared library bjam ^ --with-system ^ --with-chrono ^ --with-date_time ^ --with

Code profiling / performance analysis tools for Windows CE/Mobile

萝らか妹 提交于 2019-12-03 07:52:50
问题 What tools do you know, other than those in Visual Studio, to analyze performance bottlenecks in a Windows CE/Mobile application? I'm looking for something like AQTime for CE/Mobile, to profile C/C++ applications compiled to native code. 回答1: I haven't found any such tools for WindowsMobile for native development. The closest I've found is the EnTrek toolset (CodeSnitch / ProcMan), but they aren't really profiling tools. http://www.entrek.com/products.htm What we did do is build own own

CE 6.0 / .NET CF 3.5 Application has encountered a serious error (MC3100)

試著忘記壹切 提交于 2019-12-03 07:11:30
When exiting my .NET CF 3.5 application on the Motorola MC3100 (CE 6.0 version only) I get the error message "Application xxx has encountered a serious error and needs to shut down". I then need to warm boot the device for the application to work again. This code works fine until the application is shutdown and it only fails if a font is set on a control in the application. Everything also works fine on .NET CF 2.0 and all of the other Motorola, Intermec, Psion, HHC devices I have tried with .NET CF 3.5. Here is my current test code: [MTAThread] static void Main() { Control oCtrl = new Control

Ignoring queued mouse events

你。 提交于 2019-12-03 07:04:40
I have an application written in C# targeting .NET Compact Framework 3.5, running on Windows CE. From time to time, operations lasting for a second or so are being performed on the UI thread. I currently set the Cursor.Current property to indicate that the application is busy, but this does not prevent mouse events from eager users to queue up. This sometimes leads to unintended clicks. What is the best way to ignore queued mouse messages on the .NET Compact Framework platform? Sadly, the code has to run on the UI thread. Disabling the controls won't help you, as I've found from my POS

Console application not closing

一个人想着一个人 提交于 2019-12-03 05:03:01
I'm developing a console application that is supposed to run under WinCE 6.0 and WinCE 7.0 . I'm using C# , Compact Framework 2.0 for different compatibility reasons. My application is started by an external runtime called TwinCAT (from Beckhoff). Within this application, my teammate used a function block called nt_startProcess (documentation here ) that is in charge of starting my application on demand. My problem - Two different behaviors depending on the OS : When started manually (without TwinCAT) from a cmd line : My application behaves properly on both systems. It means that, the

Windows Mobile Device center stops working after Windows 10 1703 upgrade

社会主义新天地 提交于 2019-12-03 02:03:03
问题 i just installed new Windows 10 version (1703) and now i'm not able to connect any Windows CE device because Windows Mobile Device center 6.1 doesn't run. I tried to reinstall it but there is no way, the install process stops. Do i have to downgrade to a previous version of Windows? Is there a workaround for this situation? Thanks for your advices regards 回答1: UPDATE: Some good suggestions which seem to work are now at this web page. https://social.technet.microsoft.com/Forums/office/en-US

Windows CE vs Embedded Linux [closed]

情到浓时终转凉″ 提交于 2019-12-03 01:04:23
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . Now I'm sure we're all well aware of the relative merits of Linux vs Windows Desktop. However I've heard much less about the world of embedded development. I'm mainly interested in solutions for industry and am therefore uninterested about the IPhone or Android and more interested

Detecting 'Network Cable Unplugged' in the Compact Framework

徘徊边缘 提交于 2019-12-03 00:41:30
I've been through all of the Stack Overflow answers search comes up with, and neither Google or Bing are showing me any love. I need to know when a network cable has been connected or disconnected on a Windows CE device, preferrably, from a Compact Framework application. I realize I'm answering my own question here, but it was actually a question asked of via email, and I actually spent quite a while finding the answer, so I'm posting it here. So the general answer for how this is detected is that you have to call down into the NDIS driver via an IOCTL and tell it that you're interested in

Connecting to WinCE Device from Visual Studio

混江龙づ霸主 提交于 2019-12-03 00:28:52
I have a WinCE device. Is it possible to connect to the device from visual studio to view the following Folder structure. Applications running. Registry values. Is there any other ways to view these items? Where can I get more information on this? yms Folder structure. Remote File Viewer Applications running. Remote Process Viewer or Remote Spy Registry Values. Remote Registry Editor EDIT: If your device does not have ActiveSync, you should read this MSDN article on how to connect to Windows CE without ActiveSync Summary of the MSDN article: Prepare the device: Copy the following files to the

Code profiling / performance analysis tools for Windows CE/Mobile

放肆的年华 提交于 2019-12-02 21:18:24
What tools do you know, other than those in Visual Studio, to analyze performance bottlenecks in a Windows CE/Mobile application? I'm looking for something like AQTime for CE/Mobile, to profile C/C++ applications compiled to native code. I haven't found any such tools for WindowsMobile for native development. The closest I've found is the EnTrek toolset (CodeSnitch / ProcMan), but they aren't really profiling tools. http://www.entrek.com/products.htm What we did do is build own own profiling support into our own products using the Vistual Studio "/callcap" switch for VC++. Using that switch