Navigation Position

Windows Embedded Musings (CE/Compact/Standard)

December 2009 Entries

In Windows CE: Using ToolHelpAPI to list running processes, I showed how to use the ToolHelpAPI to get a list of running processes or applications. Someone recently asked in one of the newsgroups how to kill an application. The question included code using ToolHelpAPI to find a process, but the code had some problems. ToolHelpAPI does provide information about the processes, but the function for killing a process, TerminateProcess(), needs a HANDLE to the process. OpenProcess() can be used to get ......

Another great opportunity to ask Microsoft engineers your technical questions is coming up on Tuesday, November 24th. These chats are your opportunity to get advice and answers from the engineers at Microsoft. You may want to review the transcript from previous months to get an idea about what kinds of topics are discussed. Title: Windows CE Live Chat When: Tuesday, December 15, 2009 9:00 - 10:00 A.M. Pacific Time Add to Calendar Description: Do you have tough technical questions regarding Windows ......

In the article Platform Builder: Setting Default Memory Divisions, I discussed using pOEMCalcFSPages() or pfnCalcFSPages() to set the memory division between storage and program memory. In that article I presented the following function: DWORD OEMCalcFSPages(DWORD dwMemPages, DWORD dwDefaultFSPages) { DWORD Percent = 50; return ( dwMemPages * Percent ) / 100; } Then I suggested that with enough knowledge of your BSP and an imagination, you could dynamically set the percent value instead of using ......

The CERunApp application can be downloaded from: Download CERunApp.exe The CERunApp source code can be downloaded from: Download CERunApp source code In Windows CE: Using RAPI to Run Applications (Part 1) and Windows CE: Using RAPI to Run Applications (Part 2) I wrote about using RAPI remotely start applications on a Windows CE device from a workstation. In Windows CE: Using RAPI to Run Applications (Part 2) I presented an application, CERunApp.exe, that downloads an application from the workstation ......

Windows CE divides the system RAM into two parts; storage memory and program memory. These two parts are equally divided by default. The problem with that is that some systems need to store files than they need program space, and some systems need more program space than storage. The division can be changed dynamically at run time, which I discussed in Windows CE: Automatically setting the Object Store Size But the device OEM can change the division default in two ways: 1. FSRAMPERCENT in config.bib ......