hobocopy | An open source backup tool for Windows | Continuous Backup library
kandi X-RAY | hobocopy Summary
kandi X-RAY | hobocopy Summary
HoboCopy is a backup/copy tool. It is inspired by robocopy in both name and in functionality. It differs greatly from robocopy, however, in two respects:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hobocopy
hobocopy Key Features
hobocopy Examples and Code Snippets
Community Discussions
Trending Discussions on hobocopy
QUESTION
According to https://docs.microsoft.com/en-us/windows/desktop/api/vsbackup/nl-vsbackup-ivssexaminewritermetadata:
The IVssExamineWriterMetadata interface is a C++ (not COM) interface that allows a requester to examine the metadata of a specific writer instance. This metadata may come from a currently executing (live) writer, or it may have been stored as an XML document.
All the code I see treats it like a COM interface.
- https://github.com/Microsoft/Windows-classic-samples/blob/master/Samples/VShadowVolumeShadowCopy/cpp/writer.cpp#L108
- https://github.com/GoogleCloudPlatform/compute-image-windows/blob/master/third_party/vss/GoogleVssAgent/writer.cpp#L48
The definition looks like COM to me.
https://github.com/candera/hobocopy/blob/master/inc/winxp/vsbackup.h#L91
What is the distinction here? Does it violate the COM interface design rules in some documented way?
...ANSWER
Answered 2019-May-19 at 06:41My guess is the guy(s) who wrote this code, file and the associated doc probably didn't know what COM is, so they brought their own confusion in.
For example, they use a combination of BSTR (Automation) and LPCWSTR (raw) argument types, in the same interface (IVssBackupComponents for exemple), which is very odd.
This is COM, raw COM, because COM is essentially very simple. You can define a COM vtable in many ways, with any language, this is the beauty of it (not talking of IDispatch, type libraries, MIDL, threading, registry, class factories, out-of-process, marshaling, etc.).
For another raw COM example, look at DirectX: Programming DirectX with COM is well written and talks about what they call "raw COM" is.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hobocopy
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page