Deploy to multiple platforms.

  • Thread starter Thread starter garfitz
  • Start date Start date
G

garfitz

I have an application that uses vendor-specific managed classes for
handling barcode scan events and all is good.

I now want to deploy the same application to an iPAQ that does not
have a scanner.

The application will fail as it expects to be able to utilise the
vendor-specific classes.

What is the best way to resolve this without resorting to removing the
vendor-specific code before rebuilding for the iPAQ device ?
 
Hi,

one way you can check for the existence of scanner dll. It should be
somewhere in the \windows directory. Another way is you can check the
registry for entries made by the scanner software. If those entries are not
found, disable the scanning functionality after displaying a appropriate
feedback message to user telling that scanner is not installed in the
device.

Hope this helps...

Girish.
 
Thanks for that Girish - it will and does work.

However, as part of the deployment all required files are copied to
neccessary directories, so the scanner.dll file will exist.

So I am looking for something like.... if intermec device load this dll,
if symbol device load this dll etc..

I know there are commercial install programs out there but for the
moment I am looking for something that will work using std (or shareware
such as ezsetup) software.

??
 
Maybe you could write your own dll to sit between your app and the various
vendor dlls so that your app has common calls, but then your middle dll can
perform the logic between deciding which dll to call.

Chris
 
Back
Top