What's the best way to support WindowsMobile5 (and later) devices while maintaining code compatibility with PocketPC 2003, written in C#? We've got a rather large app in use by a bunch of different customers, roughly split equally between people with actual PPC2003 devices, and the rest newer WinMobile5 or newer -- ie, we have to continue supporting the older devices for quite a while yet. Now, I need to add camera-control to the app, at least for those devices that have a camera, so they can snap a photo and attach it to other data that eventually gets sent up to a webservice for processing.
My research so far has turned up the CameraCaptureDialog class in the Microsoft.WindowsMobile.Forms dll, but I can't add that reference to a PocketPC 2003 application. The boss isn't too keen on splitting the application up into seperate PPC2003 and WinMobile projects. Is there a way to load that dll dynamically, and using CameraCaptureDialog that way? Some other option?