Windows Embedded Standard (WES)

Windows XP: Displaying Battery Status in C Sharp using a C++ DLL
Download the Complete Battery Monitor Source Code See Windows XP: Overview of Battery Monitor Series for a description of the folder in the source code. This is article number 5 in a series of articles about monitoring batteries in Windows XP. In Windows XP: Monitoring Batteries in C Sharp I presented a C# class that can be used to get information about the system batteries. In Windows XP: Monitoring Batteries in C++ I presented a similar C++ class. Then in Windows XP: Displaying Battery Status in ......

Posted On Tuesday, March 2, 2010 3:56 PM | Comments (0)

Windows XP: Displaying Battery Status in C++
Download the Complete Battery Monitor Source Code See Windows XP: Overview of Battery Monitor Series for a description of the folder in the source code. This is article number 4 in a series of articles about monitoring batteries in Windows XP. So far, I have presented a C# class (Windows XP: Monitoring Batteries in C Sharp), a C++ class (Windows XP: Monitoring Batteries in C++) and a C# (Windows XP: Displaying Battery Status in C Sharp) application. In this article, I will present three different ......

Posted On Tuesday, March 2, 2010 2:42 PM | Comments (0)

Windows XP: Displaying Battery Status in C Sharp
Download the Complete Battery Monitor Source Code See Windows XP: Overview of Battery Monitor Series for a description of the folder in the source code. Earlier I promised applications that use the WMI Win32_Battery class to display battery status. I started this series of articles with C# (Windows XP: Monitoring Batteries in C Sharp) so I will start with a C# application. For those of you who know me, I am not a user interface developer and will leave fancy GUIs to those of you who are better than ......

Posted On Thursday, February 25, 2010 3:46 PM | Comments (0)

Windows XP: Monitoring Batteries in C++
Download the Complete Battery Monitor Source Code See Windows XP: Overview of Battery Monitor Series for a description of the folder in the source code. This is the second in series of articles about monitoring batteries in Windows XP. In the first article, Windows XP: Monitoring Batteries in C Sharp, I showed how to use the Windows Management Instrumentation (WMI) to get battery status for multiple batteries using C#. Now what I didn’t tell you was that we found a potential bug in the .NET Framework ......

Posted On Tuesday, February 23, 2010 1:04 PM | Comments (0)

Windows XP: Monitoring Batteries in C Sharp
Download the Complete Battery Monitor Source Code See Windows XP: Overview of Battery Monitor Series for a description of the folder in the source code. I was working with a customer last week who needed to get the battery charge remaining percent for two batteries. How hard could that be? I did a quick search and found that GetSystemPowerStatus() returns the charge remaining for one battery. Which is, well, useless for a multi-battery system. Some more searching turned up the Windows Management ......

Posted On Monday, February 22, 2010 2:47 PM | Comments (1)

Windows Embedded Standard (WES): Remote Debugging using MSVSMON.exe
Debugging an application remotely on a WES system running WES requires a little setup. The following presents steps for setting up the remote system and the application environment for remote debugging using MSVSMON.exe. 1. Have your system administrator do one of the following on the WES system: a. Add the WES system to the domain give the system a name, in this case use WES-DEVICE. You will need to log onto the WES system using your domain username and password. b. Add an account on the WES system ......

Posted On Tuesday, July 28, 2009 9:23 PM | Comments (3)