Click here to Skip to main content
15,881,092 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello All,

I have created a Wpf application in VS 2010 (.NET Framework 4)
which is able to handle both mouse events and touch events. I have created a setup project for that and tried testing on several machine having Windows 7 as OS. But the application shows some strange behaviour.
It runs well on some machines but doesn't works on others. I didn't found any difference though. What may be the problem?

I found out that on changing the compatibility mode of the application to Windows XP SP2/Windows XP SP3, it runs well on those machines too.
Why this happens?

But then again a problem arises that touch event doesn't works in Windows XP SP2/Windows XP SP3 compatibility mode; since touch is not supported in Windows XP.

Now what should i do?
The application is to be supported on both touch and non-touch environment and requires Windows 7 as OS.
What is causing this?

Is there any settings while creating setup.

(the application setup is created through VS Setup Project).
Posted
Comments
Sergey Alexandrovich Kryukov 27-Jul-12 12:41pm    
Not enough information. We don't know what's in your code. And to investigate the problem, you would need to run it under debugger or obtain some other kind of diagnostics at least on one system where the code is not working properly.
--SA
Adam David Hill 29-Jul-12 19:21pm    
Also, we'd need a bit more information on what you mean exactly by "It runs well on some machines but doesn't works on others." - how should it work and what are you seeing?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900