windows-ce

Windows CE 5.0 emulator needed

做~自己de王妃 提交于 2019-11-30 21:39:19
I need an emulator for Windows CE 5.0 to test an embedded device (not PDA or smartphone) application that I am developing. This is what I have already tried: Visual Studio 2008 Pro includes an emulator. Unfortunately, it does not include a Windows CE image (only Windows Mobile and Smartphone). Yes, there is a difference, see the screenshots here . Windows CE includes a "start button", windows that can be minimized, moved around etc. There is a Windows CE Device Emulator available from Microsoft. Apart from the fact that its license only permits non-commercial use, it does not run in Windows 7

Killing a WinCE device process from a desktop app

帅比萌擦擦* 提交于 2019-11-30 19:29:48
问题 I'm copying files from the desktop to a WinCE device (via the RAPI API), and if the main WinCE program is running, I need to kill it, update and restart it again. So far, I manage to copy the files and start the main program with no problem, but I cannot found a way to terminate a process via RAPI (there is a CeCreateProcess function but no CeTerminateProcess or similar) Currently i'm spawning RapiProc.exe -k \MyDir\MyProcess.exe and it works, but I cannot find the way to do it via RAPI Any

Using boost in embedded system with memory limitation

久未见 提交于 2019-11-30 19:00:38
We are using c++ to develop an application that runs in Windows CE 4 on an embedded system. One of our constraint is that all the memory used by the application shall be allocated during startup only . We wrote a lot of containers and algorithms that are using only preallocated memory instead of allocating new one. Do you think it is possible for us to use the boost libraries instead of our own containers in these conditions? Any comments and/or advice are welcomed! Thanks a lot, Nic You could write your own allocator for the container, which allocates from a fixed size static buffer.

Designing forms to work on different resolutions and aspect ratios on Windows CE

混江龙づ霸主 提交于 2019-11-30 14:16:31
I have a .NET 2.0 application that runs on Compact Framework. It has a bunch of different forms that were all originally designed to run on a specific device with a specific screen resolution. I'm now looking to get this application to run on some other devices that have very different screen resolutions (some have completely opposite aspect ratios where the screen is now taller than it is wide). My question is how can I change my forms to look good on these other screens? This is a bit different from designing forms on the full framework since I have to design these forms to take up the full

Developing applications for Windows Embedded Compact 2013

两盒软妹~` 提交于 2019-11-30 13:47:25
Today I stumbled over the Application Builder for CE 2013 in Microsoft's download center. As of the description, with this pack I should be able to develop apps that target Windows Embedded Compact 2013 with Visual Studio 2012. After downloading and installing the Application Builder I found the new framework assemblies in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsEmbeddedCompact\v3.9 , but there are no project templates targeting Embedded Compact 2013 in Visual Studio 2012. I tried to create a blank WinForms or WPF project and to retarget it to 3.9, but that doesn

Build Boost C++ WinCE

亡梦爱人 提交于 2019-11-30 10:16:41
I know that are similar question but doesn't help me. I want to build boost for Windows CE 6 on an x86 Platform. I've build STLPort in release moded as shared library for WINCE with success, I've also add some patch and integrate the OpenCE Time library and implemented some missing ANSI C function. STLPort test is ok (just an issue with wcout, wcin and wcerr in_avail() function, I don't know exactly where is the problem). To build boost I created a batch file and change the user-config.jam in this way. The build is ok but seems that I'm compiling for my Windows Xp Platform instead of WinCE.

connecting sql server from windows ce application through Activesync without being on network

ⅰ亾dé卋堺 提交于 2019-11-30 10:01:31
问题 I've connected my Motorola MC3090R having Windows CE 5 through cradle (Windows Mobile Device Center) with my laptop having Windows 7 (there is no network), my question is that how i will connect to sql server (it's on my laptop) from my handheld app? what will be my connection string inside my handheld app? as there is no network what ip i will use in the connection string? please help 回答1: I solved it with this connection string. m_Desktopconn = New SqlConnection( "Data Source=192.168.55.100

GetDiskFreeSpaceEx reports wrong number of free bytes

落爺英雄遲暮 提交于 2019-11-30 09:24:46
问题 __int64 i64FreeBytes unsigned __int64 lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes, lpTotalNumberOfFreeBytes; // variables used to obtain // the free space on the drive GetDiskFreeSpaceEx (Manager.capDir, (PULARGE_INTEGER)&lpFreeBytesAvailableToCaller, (PULARGE_INTEGER)&lpTotalNumberOfBytes, (PULARGE_INTEGER)&lpTotalNumberOfFreeBytes); i64FreeBytes = lpTotalNumberOfFreeBytes; _tprintf(_T ("Number of bytes free on the drive:%I64u \n"), lpTotalNumberOfFreeBytes); I am working on a data

how to kill process in Windows-CE?

混江龙づ霸主 提交于 2019-11-30 09:18:54
问题 How can I kill process Windows\MyProcc.exe from my terminal (Windows-CE 5.0) using C# code? 回答1: First find the Process by giving the running exe's name and kill it. Use the System.Diagnostics namespace. Process[] Prs = Process.GetProcessesById(RunninExe); if (Prs.Length > 0) { foreach (Process Prss in Prs) { Prss.Kill(); } } 回答2: The answer is that you have to use the toolhelp APIs. There's a full example on MSDN that includes enumerating processes and killing a selected one. 回答3: A code

Windows CE deletes .NET CF on reset

感情迁移 提交于 2019-11-30 00:53:42
I'm writing a C# application for a proprietary Windows CE 4.2 device (for which I don't have the specs or pretty much any other information. I've got access to the file system, and that is basically it.) I also can't get support from the original manufacturer. Now, I can install the .NET Compact framework just fine, and everything works for a while. But every once in a while, when the device is reset, it deletes the framework, the GAC, everything related to it. I know it's not just a hard reset jumping back to factory defaults because: It remembers the registry settings (If I try to install