windows-ce

Do Something When MsgBox Is Closed

I'm making a program in NS BASIC/CE that shows the user a warning, but when the user closes the MsgBox(clicking in OK), I want that the application executes AfterWarn Sub. How I can do this? ...

.NET 3.5 CF on Windows CE Platform Builder 6

I downloaded Platform Builder for Windows CE 6.0 and upgraded to R2 and R3. I am not able to see .NET CF 3.5 in the "Applications and Service Development" pane of the OS Design Wizard. I am able to see 2.0 only. Please help. All the information on the internet says that 3.5 should be available if R3 is installed. ...

How can I detect keyboard and/or mouse input on Windows Mobile?

I'm working on a small C++ project which involves a launcher application that does a bit of setup work and then invokes the real application. To be precise, I'm working on the launcher application - the real application is done by a separate team. These programs are both deployed to Windows Mobile devices. Now, I'd like to be able to get...

how to paint button in windows-CE ?

hi i try to paint button in my C# windows-CE program. in one device i Success to do it ( button1.BackColor = Color.Red;) but in a nother device i see that the button in like win XP style - and when i try to change the color it dosent Changed. what can be the Reason ?? thank's in advance ...

Can you force focus on a calling IE window on the close of a child IE window in Windows CE?

Hello, I have a struts application being used on handheld devices running Windows CE 4.2/5.0. We needed the functionality of another app in this one, and the solution was to pop up a window to the other app (using window.open()), run the process, and then close the window to return to the original app. Normally our apps always focus on...

Custom FileDialog in WinCE 6.0

I am newbie in WinCE Programming, i want to Create Custom File Dialog for our application, which has totally diffrent look and feel than the default windows file dialog.... I looked into many Flag value bt they won't worth it ... Any pointers will be helpful Thnks... Mukesh ...

How do I get the file HANDLE from the fopen FILE structure?

The fopen function returns a pointer to a FILE structure, which should be considered an opaque value, without dealing with its content or meaning. On Windows, the C runtime is a wrapper of the Windows API, and the fopen function relies on the CreateFile function. The CreateFile function return a HANDLE, which is used by other Windows AP...

Windows CE uses UTF-16 or UCS-2?

Windows NT only supported UCS-2, then starting with Windows 2000 it started to support UTF-16. But what about Windows CE? It still supports only UCS-2 or the native charset is now UTF-16? ...

how to use ShellExecuteEx to run an application on windows ce?

I am using this code: SHELLEXECUTEINFO ShExecInfo = {0}; ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO); ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS; ShExecInfo.hwnd = NULL; ShExecInfo.lpVerb = NULL; ShExecInfo.lpFile = _T("\\test\\WindowsCE\\test.exe"); ShExecInfo.lpParameters = _T(""); ShExecInfo.lpDirectory = NULL; ShExecInfo.n...

how to hide Clock and Control Panel in Windows-CE 5.0 (by C# or any registry value)

hi how to hide the Clock and Control Panel in Windows-CE 5.0 by C# code or any registry value ? thank's in advance ...

Windows CE project with libraries problem

Hello, I am developing a Windows CE application which uses some libraries provided by other parts of our company. When I deploy my application on "My Computer" (.NET compact application running on standard PC), everything works, but when I deploy to the device, the application hangs when trying to use methods from the library. The syst...

Platform Builder Project.Dat Issues

I am trying to customise an image for Windows CE6 using platform builder. The image itself is fine. However, my customisation is failing. My project.dat file looks like this: Directory("\Windows\StartUp"):-File("StartUpBat.bat","\Windows\StartUpBat.bat") Directory("\Hard Disk"):-File("RegFlushKey.exe","\Windows\RegFlushKey.exe") Direc...

How to test for a stamped WinCe6 NK.BIN image!

I have created an image, using Platform Builder, for Windows CE6. As per the legal agreement, I then 'licensed' the NK.BIN image file, again using Platform Builder, using a purchased run-time key that came with 100 licenses. How can I test that this process has worked? What is 'different' in the image? Is there a command/action that c...

Changing scrollbar size in Internet explorer 6 by using Windows CE 6.0

Hi, I need to change the scroll bar's size of Internet Explorer 6 in Windows CE application. by referring to http://msdn.microsoft.com/en-us/library/aa452005.aspx , I'm only able to change the scroll bar slider's size(by changing SBSizeV and SBSizeH value) but not the arrow button's size. Is there any way that I could change the size? Th...

what should i use instead of Directory.SetCurrentDirecory?

Hi, i have a multi environment program that runs on windows ce machines, regular pc and windows mobile. I am using a database and files. because of the windows CE i need to use the Directory.GetCurrentDirectory() func before the file use and then reset the current directory (using the Directory.SetCurrentDirectory() func) back to the old...

Leading zeros calculation with intrinsic function

I'm trying to optimize some code working in an embedded system (FLAC decoding, Windows CE, ARM 926 MCU). The default implementation uses a macro and a lookup table: /* counts the # of zero MSBs in a word */ #define COUNT_ZERO_MSBS(word) ( \ (word) <= 0xffff ? \ ( (word) <= 0xff? byte_to_unary_table[word] + 24 : \ byte_...

How to decode a Windows CE call stack?

Desktop Windows OSs have a "StackWalk64" function, upon which Jochen Kalmbach made a library for decoding the call stack into something human-readable. I need a similar tool, but for Windows CE. WinCE has a function to get the call stack, GetThreadCallStack, but once I have the raw return addresses, how do I Determine the module (DLL ...

Use of CreateProcess on WinCE6

Hi, I'm trying to launch a process from my program, namely cmd.exe. Doc says I have to use CreateProcess, and below is how I use it : CreateProcess((LPCWSTR) "\Windows\cmd.exe", (LPCWSTR) "", 0,0,0,0,0,0,0,0); dw = GetLastError(); printf("%u \n", dw); The path is the one displayed by the target (on the target, I found a shortcut to cm...