Solved

new windows version certification

Posted on 2012-03-20
10
347 Views
Last Modified: 2012-04-06
Hello
Our product is win 32 application which is working fine with windows 2003.
We need to certify this product on win 2008.

So, I would like to know the approach,to evaluate, if any api does work in 2003, but not in 2008? Is there a microsoft tool to analyse the compatibilityof this product in win 2008 ?
Testing the complete product in 2008 is very difficult, as it does not exhaust in limited time.

These api would range in UI/DB/commu/etc...

for example: postmessage() apis not working in 2008 unlike 2003, due to low integrity level given to process with a user in administratore group unlike system user.

So, Please let me know the approach to analyse the compatibility of win32 product in win 2008

Sham
0
Comment
Question by:mohet01
  • 4
  • 4
  • 2
10 Comments
 
LVL 10

Expert Comment

by:CSI-Windows_com
ID: 37746462
You will want to take a look at Microsoft's AppVerifier - it is designed for exactly what you are asking about.  http://msdn.microsoft.com/en-us/library/dd371695(v=vs.85).aspx
0
 

Author Comment

by:mohet01
ID: 37746702
Hello
For our product, We are still building the code in
Visual studio 2003.
We did not change the build procedure.

So, Where do i use app verifier, becasue this is available for VS 2008
How exactly i use this?
Sham
0
 
LVL 10

Expert Comment

by:CSI-Windows_com
ID: 37746767
AppVerifier works on your compiled binary.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 7

Expert Comment

by:tampnic
ID: 37750466
I know that services cannot interact with the desktop as easily in win2008 compared to win2003, e.g. tray icons. Is your app a service?

Cheers,
   Chris
0
 

Author Comment

by:mohet01
ID: 37751697
Hello
Does appverifier tell us that so and so windows api from this binary is not going to work in win 2008?
Sham
0
 

Author Comment

by:mohet01
ID: 37751700
Hello Chris
My product has both service and non-service modules?
Sham
0
 
LVL 10

Expert Comment

by:CSI-Windows_com
ID: 37751866
Yes appverifier identifies the use of non-working apis or removed components.  Since it actively analyzes your app while it runs it can catch a variety of problems that passive analysis (just looking at the bits of the EXE) cannot.  You can choose from many, many api level tests.

It just takes a second to set it up and get a report.

No testing tool can claim that it will catch absolutely every possible problem - but if you run into 10 items in AppVerifier - then that 10 you don't have to discover the hard way.
0
 
LVL 7

Expert Comment

by:tampnic
ID: 37751918
Most issues I have come across with old code are to do with UAC - from looking at the AppVerifier page it checks for UAC problems. I would follow CSI-Windows_com's advice and run the application executables through AppVerifier, it looks like the best automated solution. I never knew AppVerifier existed before so thanks CSI-Windows_com!

Cheers,
  Chris
0
 
LVL 10

Accepted Solution

by:
CSI-Windows_com earned 500 total points
ID: 37752891
The Application Compatibility Toolkit also includes Standard User Analyzer.  So if you are refactoring your application to work under Non-admin permissions this can be valuable as well.

Also, many issues that are blamed on "UAC" are actually poor programming practices in the areas of following Micrsoft's security guidelines or poor practices in retrieving Windows Special folders using APIs calls rather than assuming where folders are located.  Some of these recommendations (like not trying to write back to HKEY_LOCAL_MACHINE) have been in place for 12 years - since Windows 2000.

SUA:
http://technet.microsoft.com/en-us/library/cc838034(v=ws.10).aspx

Application Compatibility Toolkit:
http://www.microsoft.com/download/en/details.aspx?id=7352
0
 

Author Closing Comment

by:mohet01
ID: 37816089
thanx
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question