New User defined Writer Identities for VSS CVssWriter::Initialize

  • Thread starter Thread starter duraisridhar
  • Start date Start date
D

duraisridhar

Hi All,
I'm developing a small application which creates the volume shadow
copies at a time in parallel threads. Is there any way I can provide
any new user defined Writer Instance identities for each thread without
conflicting the writer identities of other system writer such as SQL
Writer , Exchange Writer etc.

I'm new to programing using UUID's, hence appologise if I'm off the
basic. Please guide me what are the values I can give other than UUID
"c0577ae6-d741-452a-8cba-99d744008c04"(this was example UUID provided
for CTestVssWriter).

Any help on this will be greately appreciated,

Thanks for your time ,

Regards,
Sridhar
 
It's certainly worth mentioning that <[email protected]> had previously
written the following in message
Hi All,
I'm developing a small application which creates the volume shadow
copies at a time in parallel threads. Is there any way I can provide
any new user defined Writer Instance identities for each thread without
conflicting the writer identities of other system writer such as SQL
Writer , Exchange Writer etc.

I'm new to programing using UUID's, hence appologise if I'm off the
basic. Please guide me what are the values I can give other than UUID
"c0577ae6-d741-452a-8cba-99d744008c04"(this was example UUID provided
for CTestVssWriter).

Any help on this will be greately appreciated,

Thanks for your time ,

Regards,
Sridhar


There are 16^32 possible permutations for a UUID, which is approx. 3.4 x
10^38. So there is roughly a one in 3400000000000000000000000000000000000000
chance of a randomly chosen one conflicting with one of the other uuids you
mentioned. Small enough not to be overly worried about.

There are programs, such as Guidgen that can generate randomised UUIDs for
you, which are virtually guaranteed to be unique, or some websites do it.


http://www.somacon.com/p113.php
http://kruithof.xs4all.nl/uuid/uuidgen
 
Hi Jon,
Thanks for your valuable suggestions. I googled and found out
UuidCreate/CoCreateGuid can be used . I have decided to stick to
UuidCreate() implementation for creating new UUID.

Thanks for your time ,

Best Regards,
Sridhar D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top