windows-ce

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

南楼画角 提交于 2019-11-29 20:02:20
问题 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

Developing applications for Windows Embedded Compact 2013

为君一笑 提交于 2019-11-29 19:08: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

What is wrong with this HttpWebRequest/HttpWebResponse code (why is it considered a “bad” request (400))? [closed]

牧云@^-^@ 提交于 2019-11-29 18:28:02
Based on the info from this MS link , I've got the following code in a Windows CE / Compact Framework app which calls a REST method in a Web API server app: public static string SendXMLFile2(string uri, string data) { //TODO: Remove below after testing String s = data.Substring(0, 128); MessageBox.Show(String.Format("data length is {0}, uri is {1}, first part is {2}", data.Length, uri, s)); //TODO: Remove above after testing HttpWebRequest myHttpWebRequest=(HttpWebRequest)WebRequest.Create(uri); myHttpWebRequest.AllowWriteStreamBuffering=false; myHttpWebRequest.Method="POST"; UTF8Encoding

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

不打扰是莪最后的温柔 提交于 2019-11-29 18:10:49
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 Adnan Badar I solved it with this connection string. m_Desktopconn = New SqlConnection( "Data Source=192.168.55.100,1433;Initial Catalog=Testing;Persist Security Info=True;User ID=sa;Password=sa;") I had two

wince 6 smart device Could not establish secure channel for SSL / TLS error

匆匆过客 提交于 2019-11-29 17:21:17
I have a web service which i need to access through https. We have a workbout pro 4 with win ce 6.0 running on it. When we were developing our app we had tested it through http. wihtout any problem. When we went live and needed access to https based server we have received the error stated on subject field under VS 2008 Smart Device Project. On the device we receive an error "could not display..." . We have tried to import the standard certificate issued by global si. We still have no success accessing the web service. We can acces the web service on phone, tablet, pc but not with Pro 4:). It

GetDiskFreeSpaceEx reports wrong number of free bytes

百般思念 提交于 2019-11-29 15:25:26
__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 management routine which is a Windows CE command line application. The above code shows how I get the

Should I call “SqlCeEngine.Upgrade()” when both the SDF file and the device are seemingly the same version (2)?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-29 12:58:58
This is a followup to a question here ctacke said there regarding SQL Server CE-related "issues" I was/am having: " The problem, as indicated by the error text, is that the SDF file was created by a version of SQL Compact that doesn't match the version of SQL Compact that the application is referencing. I wouldn't focus on the reported version numbers, just the fact that it knows there's a mismatch. If you don't know the version of the SDF, you can always look it up by reading a few bytes from the SDF file. SQL Compact database files aren't 100% transportable. You definitely cannot take an SDF

Build Boost C++ WinCE

别说谁变了你拦得住时间么 提交于 2019-11-29 10:14:06
问题 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

How could I create a custom windows message?

主宰稳场 提交于 2019-11-29 07:24:47
Our project is running on Windows CE 6.0 and is written in C++ . We have some problems with the code , and we are unable to debug . We also found out that if in our application we create threads and try to printf from them , the output won't appear . The only output that will appear is the one from the main thread . I would like to do the following : create a custom windows message use as it's WPARAM the address of a char* I want to show on the screen use as it's LPARAM the length of the char* I want to show on the screen send the message process it when it comes , so that it prints the char*

Windows CE vs Windows Mobile

本小妞迷上赌 提交于 2019-11-29 06:56:42
I often see these terms: Windows CE Windows Mobile Pocket PC Windows Mobile Smart Phone I know the difference between the second 2, but I am confused on the first. I thought it was the name of the Mobile OS prior to Windows Mobile 5. But I am seeing it more often in current products. (Here is a current MS Form for developing on it. Here is a current product for creating them.) What is it and how does it relate to the Windows Mobile lines? Windows CE is a modular OS. It is built with a tool called Platform Builder (PB). PB has a Catalog of items that can be included in a give OS image. For