Folks,
I am using VS 2005 to target a Windows Mobile 2003 (SE) Phone Edition
device. I want to be able to access Hardware Buttons. Supposedly, this is
in the Microsoft.WindowsCE.Forms.dll. But there are two versions:
v1.0.4292.0 and v2.0.5238.0, located repectively in:
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE\ and
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\.
The v1.0.4292.0 DLL does not have HardwareButton defined. In fact, it only
has, as I recall, three objects: InputPanel, Message, and MessageWindow.
The v2.0.5238.0 DLL has MUCH more, including HardwareButton.
But when I add the reference to v2.0 and tre to build my project, I get this
error message:
Metadata file 'c:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Microsoft.WindowsCE.Forms.dll' could not be opened -- 'Version 2.0 is not a compatible version.'
What am I to do? Thanks in advance for all suggestions.
/Joel Finkel
finkel@sd-il.com
cc:pocketpc.developer