On 6/30/13 9:16 , "Gal Hammer" <gham...@redhat.com> wrote: >On 26/06/2013 01:31, Tomoki Sekiyama wrote: > >>> Also, is it needed to call VSSCheckOSVersion from the requestor? I >>> would think that checking VSSAPI.DLL is stronger than checking the >>> version, and indeed you do that check too. >> >> In Windows XP, VSSAPI.DLL exists but it has different functionality >> and interfaces from newer Windows. >> >>http://msdn.microsoft.com/en-us/library/windows/desktop/aa384627(v=vs.85) >>.aspx >> >> It is checking the OS version because this patchset only supports >> Windows 2003 or later. > >So why don't you query for the interface you supports rather than >checking the OS version?
Hmm, I don't know what I should query for. Microsoft's document above only provides a table of compatibility between VSS SDK version and OS version. Of course I can install the component and test whether it works or not, but I want to know that before installing something. >Thanks, > > Gal. Thanks, Tomoki Sekiyama