windows-xp-embedded

How do I access performance counters from C# in Windows XP Embedded?

I have an application running under Windows XP, and I'm accessing the Processor and Memory performance counters. When I try to run the same code and access them on XP Embedded, the counters don't seem to be present. They are present in the image - I can see them all in perfmon. What's the missing piece here? ...

Porting Windows demo apps to WinCE/XP Embedded

We have a range of PC demonstration programs for our microcontroller products. The programs typically connect to a USB HID chip on the microcontroller board. The USB chip acts as a communications bridge, allowing the programs to communicate with the micros over SPI/I2C/UART. The programs can configure the micros, and get back status ...

How do I add the NULL device to Windows XP Embedded?

Windows XP Embedded is missing the NULL or "NUL" device. For one thing, Visual Studio seems to require it and trying to build a project aborts with a PRJ0015 error. Anyone know how to configure an XPe image to include support for the NUL device? ...

Windows XP embedded - RS485 problems

We've got a system running XP embedded, with COM2 being a hardware RS485 port. In my code, I'm setting up the DCB with *RTS_CONTROL_TOGGLE*. I'd assume that would do what it says... turn off RTS in kernel mode once the write empty interrupt happens. That should be virtually instant. Instead, We see on a scope that the PC is driving ...

WCF with .Net 2.0

We need to implement a WCF service on a machine that can only run .Net 2.0. The machine is a Windows XPe POS terminal, and we have not found a way to install .Net 3.0. We can't really format it with a new XPe image because there is a proprietary POS application and drivers installed. Is there any way to do implement a WCF service on ....

where does msscript.ocx gets installed from

Hi All, I'm using msscript.ocx in my application which is an activex scripting host for windows. Although I want to be able to use the same for XP embedded(XPe) which's highly customizable. 1.I want to know whether on XPe, msscript.ocx can be optionally installed or not? 2.Where does it get installed from, IE? 3.Or is it a windows co...

How to trigger an event at 03:00 every night?

How is this done best? I want an app that's running on a server to trigger an event every night at 03:00. ...

net use command - WinXP Embedded

I'm trying to use the 'net use' command to map a drive from a Windows XP Embedded system(built using Target Designer), but when I try to execute the 'net use' command, it is un-recognized. The command works great on my desktop WinXP machine, just not on the embedded system. I'm not sure if we are missing a package that needs to be on t...

Windows XPE service installation - how to set security at CreateService time?

I'm using CreateService to install a windows service on Windows XPE. I'd like to set things up so that only the Administrator can start/stop/pause/resume the service. Right now I'm using the following to install the service: schService = CreateService(schSCManager, ServiceName, ServiceDisplayName, // service name to displ...

looking for sugestions on how to get started with embeded xp

In the past I have worked with the microchip PIC family, but I would like to broaden my horizons by working with XP embedded systems, and I am looking for suggestions on where to start. ...

Measuring a Windows XP Embedded Application's Memory & CPU Requirements

My question says it all really. Are there any tools like perfmon or xperf that will work under the Windows XP Embedded OS, to monitor the resource requirements of a compiled (C++, as it happens) application as it does its job? ...

Perfmon.msc and XP Embedded

Hi, I just came into a project that has xp embedded devices already in the field. I was asked to start collecting performance counters. The embedded xp is the default SP2 image. When I type perfmon.msc in run, it says it cannot find it. Based on a google search, I am assuming that the Embedded SP2 Feature Pack 2007 had to be used duri...

Recommendations for CANOpen stack implementations?

I need an off-the-shelf CANOpen stack implementation as part of a Windows XP Embedded software solution I'm developing. Does anyone have any suggestions beyond IXXAT's offerings? ...

Make windows XP ask for password

We have software that have some features that are so sensitive that we want to verify the identity of the user. Instead of using a own user/password scheme we would really like to either test the password against the user password in XP, or even make Windows self reauthenticate the user so we can make sure that it is an authorized person...

Developing WPF App to Run on Windows XP Embedded Monitor

I'm experienced developing Windows client desktop apps with WPF, but I've never developed apps for a Windows XP embedded device. We have monitors located around the factory that run XP embedded and I would like to know if there are any issues developing a WPF application to run on the XP embedded monitor. For instance, what are some of...

Why do I get memory errors from my Delphi 2006 app running under Windows XP embedded

I have a D2006 app that uses FastMM4 (like, it has "FastMM4" in the start of the uses clause in the DPR file). I know Delphi uses FastMM4 as it's memory manager anyway, but the downloaded version has more debug dump options. I recently tried to run the app on a single-board tablet type industrial PC running Windows XP embedded. The pr...

Windbg with xp embedded, ntdll.dll symbols fail, other symbols affected?

I am using windbg with xp embedded. Attempting to fetch the operating system symbols fails with the message "Symbol file could not be found. Defaulted to export symbols for ntdll.dll". (Is this typical for xp embedded???) I have no problem locating and loading symbols and source for my own code. However stepping through the code suggest...

WMI Win32_Printer not working on XP Embedded

Hi everybody, I have some code which works on a standard XP system, but fails on XP Embedded test machine. I get System.Management.ManagementException : Provider Load Failure Here is my code: string query = "Select * From Win32_Printer"; ManagementObjectSearcher searcher = new ManagementObjectSearcher(query); ManagementObj...

How do I programmatically change a .lnk to change its target?

Is there any way to open a windows shortcut (.lnk file) and change it's target? I found the following snippet which allows me to find the current target, but it's a read-only property: Shell32::Shell^ shl = gcnew Shell32::Shell(); String^ shortcutPos = "C:\\some\\path\\to\\my\\link.lnk"; String^ lnkPath = System::IO::Path::GetFullPath(s...

Convert a .NET WinForms Application to a binary executable

I have a very low spec computer running XP Embedded (512Mb RAM, 512Mb HDD). IE 8 doesn't fit on it with .NET, so I was wondering if it's possible to compile a WinForm's project to a binary executable (making it independent of the .NET framework)... for what I am doing it seems like a bit of over kill to rewrite the executable in Delphi,...