locked
Volume Shadow Copy RRS feed

  • Question

  • Hi,

    I'm a beginner developer and I'm looking for Volume Shadow Copy sample code. I've look in the VSS SDK, but I don't understand this example.

    Is there a place with some other example?

    Thanks in advance
    Tuesday, February 12, 2008 4:43 PM

Answers

  • There are two VSS samples the Windows SDK for Windows Server 2008 and .NET Framework 3.5, released February 5, 2008.

     

    Volume Shadow Copy Service Sample Provider Sample installs to

    c:\Program Files\ Microsoft SDKs\Windows\v6.1\Samples\winbase\VSS\vsssampleprovider

     

    VSS Requestor Sample installs to

    C:\Program Files\ Microsoft SDKs\Windows\v6.1\Samples\winbase\VSS\VShadow

     

    I don’t know if these samples also ship in the VS SDK.

     

          K a r i n   M e i e r

    Windows SDK | Samples & Community PM

    http://blogs.msdn.com/KarinM

    Friday, February 15, 2008 8:23 AM

All replies

  • There are two VSS samples the Windows SDK for Windows Server 2008 and .NET Framework 3.5, released February 5, 2008.

     

    Volume Shadow Copy Service Sample Provider Sample installs to

    c:\Program Files\ Microsoft SDKs\Windows\v6.1\Samples\winbase\VSS\vsssampleprovider

     

    VSS Requestor Sample installs to

    C:\Program Files\ Microsoft SDKs\Windows\v6.1\Samples\winbase\VSS\VShadow

     

    I don’t know if these samples also ship in the VS SDK.

     

          K a r i n   M e i e r

    Windows SDK | Samples & Community PM

    http://blogs.msdn.com/KarinM

    Friday, February 15, 2008 8:23 AM
  • Which is the most recent VSS example? Because there is also the VSS SDK 7.2. When I try to compile the example provided as hwprovst, it doesn't work. I am using visual studio 2005, and I am getting the following error:

    sampleprovider.obj : error LNK2019: unresolved external symbol "public: long __thiscall VirtualStorage::VirtualBus::QueryMountedImage(struct _GUID const &,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &)" (?QueryMountedImage@VirtualBus@VirtualStorage@@QAEJABU_GUID@@AAV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z) referenced in function "public: virtual long __stdcall CSampleProvider::CommitSnapshots(struct _GUID)" (?CommitSnapshots@CSampleProvider@@UAGJU_GUID@@@Z)



    Thursday, July 30, 2009 7:02 PM