Using CoCreateGuid from Visual Basic
Posted on 1998-07-08
I would like to create and work with GUID's from visual basic. I would like to call CoCreateGuid, and receive a pointer to a UUID, however this seems a bit tricky since the predefined UUID uses unsupported variant types (unsigned long is unsupported?)
If you could provide me with an example of creating a new GUID and converting it to a string, then i'd be happy...
(I could create a DLL in c/c++ that did the job, but if its possible from VB, then i'd prefer that).
Have a nice day, and thank you!