Forum posts for sidebar.exe

Reliably detecting OS architecture in a Windows Desktop Gadget

I have some Javascript code that will programmatically register an COM interop assembly by writing all the necessary keys and values to the registry. An older version of this COM object was written in VB6 and didn't work correctly on x64 versions of Windows unless the user manually ran the x86 sidebar.exe, so some of our users would have switched to using the x86 sidebar.exe for the COM object to work.

In short, I need to correctly detect the architecture of the operating system currently running. I've tried all of the following which return incorrect values if the x86 version of sidebar.exe is running:

System.Machine.processorArchitecture
navigator.platform
navigator.cpuClass


Is there something I can use to reliably detect if Win64 is running even though it's running x86 sidebar.exe?

View complete forum thread with replies

Other posts related to sidebar.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Reliably detecting OS architecture in a Windows Desktop Gadget
Executing commands from C# problem
Windows 7 Gadgets - Windows 7 Logo Program Certification
gadgets: Need to uninstall a gadget programmatically through code in C#
Code Profiling in the Windows Sidebar Environment
Running MSI installers silently

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.