HardwareButton class in V1.0 running on V2.0

  • Thread starter Thread starter Hilton
  • Start date Start date
H

Hilton

Hi,

I need to compile my app for 1.0. If it runs on CF 2.0, can I use its
Hardware class via reflection (or some other method). I tried, but I kept
getting null.

Same goes for other class; i.e. if we have compiled-for-1.0 app, can we use
any 2.0 functionality if the app runs on 2.0.

Thanks,

Hilton
 
Peter said:
You can't reference v2.0 dlls from a v1.0 project. There is a matching
implementation of the HardwareButton class in the Mobile In The Hand suite
(Including the Community Edition) - www.inthehand.com/WindowsMobile.aspx

Peter, thanks for the reply. Here's my logic: When my compiled-for-1.0 app
runs on CF 2.0, my app is using the CF 2.0 DLLs. Therefore, shouldn't
reflection be able to at least see the classes?

Hilton
 
Back
Top