windows-ce

How to use OPENGL API in wince 6.0 r3 platform builder

Hi All How to use the following interface in wince 6.0 r3 for implementing hardware acceleration for graphics in silverlight IRenderer ICustomSurface ICustomGraphicsDevice Thanks in Advance ...

wchar to char in c++

I have a Windows CE console application that's entry point looks like this int _tmain(int argc, _TCHAR* argv[]) I want to check the contents of argv[1] for "-s" convert argv[2] into an integer. I am having trouble narrowing the arguments or accessing them to test. I initially tried the following with little success if (argv[1] ==...

May I write Window Mobile Library in Visual Studio Express?

To write a WM application, I have to use VS Pro cos I would need WM template and Emulator. But if I just need to write a dll, is it possible to do it in VS Express? Many thanks. ...

Change IP settings using C++

How do I change the IP settings of a Windows CE 6 box Programatically via C++? Functions for Windows might also work. I found that I can change the hostname via sethostname but couldn't find how to change IP address settings such as: IP Address DHCP Subnet Gateway DNS1 / DNS2 WINS1 / WINS2 Any advice / pointers would be great. Thank...

How to resize font on the GUI buttons in MFC

I have a GUI written in MFC for a Windows CE device. However I need to resize some of the buttons and their corresponding text. I can't figure out how to change font size. The following code fragments did not help: Trial 1: *CFont fnt2; fnt2.CreateFont(10, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLI...

How to add Silverlight in Windows CE 6.0?

I want to add Silverlight in my win ce . Can anybody tell how to add the Silverlight application? And what are the thing I want to add in the catalog menu. Please tell me the steps for this. ...

how to measure time between 2 button press ? (winCE + C#)

hi i need to measure time between 2 button press in Windows-CE C# how do do it ? thank's in advance ...

How do I force a user to type only two digits after the decimal point?

How do I force a user to type only two digits after the decimal point? For example: 100 - good 100.1 - good 10.21 - good 10.123 - bad 21.1234 - bad I need it at entry time - in C# and Windows CE. ...

Positioning the dialog box in the centre of the screen

I have a dialog box developed in mfc for a Windows CE device and want it to occupy the entire screen. I used the following code to center my dialog box on the lcd screen of the device: CWnd* pWnd = GetDesktopWindow(); CenterWindow(pWnd); However, I still get a tiny sliver of space on the left side of the dialog box, resizing the dia...

when i press (*) how to get (.) in TextBox (in C# WinCE)

hi when i press (*) how to get (.) in TextBox (in C# WinCE) i have TextBox and when i press the (*) letter i want to get the (.) letter thank's in advance ...

need a library to get performance counters data under Win CE, c++ code

Under WindowsCE, C++ project, I'd like to get CPU utilization and memory allocation data real time - for logging and troubleshooting. Is there a library or activeX available that i could include in my code and use [without bringing my process to a halt, preferably], anyone knows? thanks much for any insight! O. ...

How to get the form active control?

Is there a way to get the form active control? I was checking in the help for the "Support.GetActiveControl" method but it isn't supported :) for the Compact Framework. I suppose that I can track the focus by adding a custom GotFocus event handler to all the form controls, but I'm looking for a more generic way that can be implemented ...

SqlCeCommand ExecuteNonQuery performance issue

UPDATE: I've modified the code to drop the indexes before the inserting, but it makes not difference. I've been asked to resolve an issue with a .Net/SqlServerCe application. Specifically, after repeated inserts against the db, performance becomes increasingly degraded. In one instance at ~200 rows, in another at ~1000 rows. In the l...

How to convert string to control ?

hi i have string MyText that hold "L1" i have label control that his name is "L1" is there any way to read label L1 using MyText ? something like: TMT = MyText.Text or: TMT = ((Control)MyText.ToString()).Text; thanks in advance ...

turn on bluetooth in pocket pc VS-c++

I'm attempting to turn on the bluetooth devices on a WinCE5.00 device. I was tracking down alternatives to BthUtil.dll because it doesn't exist on this OS. Does anyone know how I'd replace the functionality presented in this file. http://www.keyongtech.com/3116265-bthutil-dll-missing-in-ce bears not fruit. The suggestions don't have an...

Real Silverlight Support on Windows Embedded Compact 7?

So Windows Embedded Compact 7 (another classic from the naming department) supports Silverlight for Windows Embedded. http://www.microsoft.com/windowsembedded/en-us/products/windowsce/compact7.mspx But this is a C++ only stripped down version of Silverlight 2 XAML. Does anybody know if Windows Embedded Compact 7 will support real Silver...

Activesync wont connect to my Windows CE 6 device

Hi! When I connect my Windows CE 6 device to my development machine I get Microsoft USB Sync to register in Windows Device manager. But I cant connect with ActiveSync for some reason. Any ideas on how to fix this? It worked with Windows CE 5, but when we upgraded ActiveSync-functionality disappeared. NEW UPDATE 13.34: Error log from...

Win CE 6.0 client using WCF Services - Reduce Bandwidth

We have a Win CE 6.0 device that is required to consume services that will be provided using WCF. We are attempting to reduce bandwidth usage as much as possible and with a simple test we have found that using UDP instead of HTTP saved significant data usage. I understand there are limitations regarding WCF on .NET Compact Framework 3.5...

CE 5.0 with 3G Usb Stick

I'm new to CE programming and I have a Marvel device PXA270 with Windows CE 5.0 installed. The device has one usb port. I wonder if there's ANYTHING I can try to connect a 3G-HDSPA usb stick to it. When plugged it only recognises its folders as a pendrive would do, but no Internet. Thx. ...

Windows CE 5.0 emulator needed

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 screen...