windows-xp-embedded

Network interface settings in embedded Windows XP

断了今生、忘了曾经 提交于 2019-12-23 21:45:54
问题 How can we get the network interface name (i.e. the one that appears in the "Network connections" dialog) given the device description (i.e. the string that appears in the "Device Properties -> Connect using:" textbox)? We must do it in pure C/C++ language, or through some of the standard command line tools (e.g. netsh, ipconfig...), or a combination of both. We CAN'T use the .NET API, because of deployment problems (the application must run on an XP embedded without .NET Framework). The SDK

Network Drive Not Available On Startup

青春壹個敷衍的年華 提交于 2019-12-12 14:36:23
问题 I have a C# application which loads at startup, and logs data to a network drive, which is mounted as X: When the machine first boots, the application throws an error that X:\ is not available. If I restart the app, same error. However, if I open Windows Explorer and double click to browse the drive, I can then run the application and it will connect to X: just fine. Do network drives not automatically initialise on startup, despite being mapped? Is there a way to set them to initialise

where does msscript.ocx gets installed from

跟風遠走 提交于 2019-12-12 13:41:32
问题 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 core component which gets installed during the XPe setup?(I know one can unregister it, but can it be an optional installation) Answering any or all of these questions will

XP embedded CRT version issue.. LoadLibraryEx failing

本秂侑毒 提交于 2019-12-11 17:09:29
问题 I am using a third party dll in my application which is destined to be run on a Windows XP embedded SP1 system. It runs fine on my dev box however, but when I try to run it on target platform it fails with following event. This event occurs when I call LoadLibraryEx to load the third party DLL. Event Type: Error Event Source: SideBySide Event Category: None Event ID: 32 Date: 9/8/2011 Time: 9:42:28 AM User: N/A Computer: OEM-J1XMVGHGNVX Description: The description for Event ID ( 32 ) in

How to disable (or reset) a network adapter programmatically in C#

谁都会走 提交于 2019-12-09 03:34:28
问题 I need to disable a network adapter programmatically using C# (.NET 2.0) on Windows XP Embedded. Background Reason : After installing a Bluetooth stack on the PC, the Bluetooth PAN adapter blocks the Bluetooth manager program (that runs in the system tray). If I disable the Bluetooth PAN then the Bluetooth manager works fine. This issue is happening only on Windows XP Embedded machines. 回答1: try this: netsh interface set interface "YOUR_ADAPTOR" DISABLED 回答2: netsh interface set interface

How to disable (or reset) a network adapter programmatically in C#

依然范特西╮ 提交于 2019-12-01 17:42:27
I need to disable a network adapter programmatically using C# (.NET 2.0) on Windows XP Embedded. Background Reason : After installing a Bluetooth stack on the PC, the Bluetooth PAN adapter blocks the Bluetooth manager program (that runs in the system tray). If I disable the Bluetooth PAN then the Bluetooth manager works fine. This issue is happening only on Windows XP Embedded machines. try this: netsh interface set interface "YOUR_ADAPTOR" DISABLED netsh interface set interface "YOUR_ADAPTOR" DISABLED NOTE: Note sure about XP, but in Windows Vista / Windows 7, this will only work on a command

Disable a right click (press and hold) in WPF application.

一个人想着一个人 提交于 2019-11-27 13:09:47
问题 I am working on the touch screen application which is running on Windows XP Standard. With current hardware to invoke a right click user has to click and hold for couple of seconds, but this might interfere with other actions like holding a repeat button in the scrollviewer, so I have decide to disable a right click. I would ideally wan't to disable a right click on the application level, but if it is not possible, disable right click on windows level would also work for me. 回答1: You can