如何在VSS中启用指定的编写器 [英] How to enable specified writers in VSS

查看:148
本文介绍了如何在VSS中启用指定的编写器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是VSS的新手,

如何在VSS中启用指定的编写器.

我想启用Hyper-v VSS编写器本身,我正在使用下面的API对其进行加密,但对我不起作用.

Hi
I am novice to VSS,

how can i enable specified writers in VSS.

I want to enable Hyper-v VSS writer itself, I am using below API to enble it but its not working to me.

VSS_ID HypervVSSID; CLSIDFromString(LPOLESTR("66841cd4-6ded-4f4b-8f17-fd23f8ddc3de"), &HypervVSSID); m_pVssObject->EnableWriterClasses((const VSS_ID *)&HypervVSSID ,0)

m_pVssObject->GatherWriterMetadata(&pWriterMetadataStatus);

m_pVssObject->GetWriterMetadataCount (&cWriters);

printf("WriterMetadata count : %d\n",cWriters);  



输出:WriterMetaData计数:0

如果未显式调用(EnableWriterClasses)API,将获取包括Hyper-v VSS编写器在内的所有编写器信息.

谁能建议我如何启用指定的作家.

预先表示感谢.



Output : WriterMetaData count : 0

If I am not call (EnableWriterClasses) API explicitely , will get all the writer info including Hyper-v VSS writer.

Can any one suggest me how to enable specified writer.

Thanks in advance.

推荐答案

[在讨论中的问题答案,对该问题的评论:]

您当然需要更好的版本控制系统.实际上,如果您没有使用这种类型的体面系统,那么您实际上并没有在开发自己,这是在冒险冒着所有宝贵的开发主张被遗失或仅仅埋在大量备份中的风险,这实际上几乎等同于最终的备份.损失.

请查看此讨论,包括我的回答:
版本控制系统可供选择? [ ^ ].

在过去的答案中,我解释了为什么不使用VSS,尤其是:
如何结构化安排源代码当我创建新解决方案时 [ http://en.wikipedia.org/wiki/Subversion_%28software%29 [ ^ ],
http://subversion.apache.org/ [ ^ ].

您可以看到我在此答案中解释的一些细节:
需要一些单词设置和/或使用服务器的明智之举 [制作不可点击的表单 [
[Answering to the question in the discussion in the comment to the question:]

You certainly need much better Revision Control system. Actually, if you are not using a decent system of this type, you are not really developing, you are risking all your valuable development asserts to be lost or just buried under the tons of back-ups, which could practically be almost equivalent to final loss.

Please see this discussion, including my answer:
Revision control systems, which to choose from?[^].

In this past answer I explain why not VSS, in particular:
How can i structured to arrange source code when i create a new solution[^].

Actually, my favorite so far is Subversion:
http://en.wikipedia.org/wiki/Subversion_%28software%29[^],
http://subversion.apache.org/[^].

You can see some detail I explained in this answers:
Needs some words of wisedom to set up and/or use a server[^],
Make an unclickable form[^].

—SA


这篇关于如何在VSS中启用指定的编写器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆