15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


UUID/CLSID

Derek Bernhart -- derek_bernhart@affymetrix.com
Friday, June 21, 1996

VC++4.1 NT4.0 Beta2

How can I create a CLSID from within my application?




Frank Pijpers -- tgtcfp@chem.tue.nl
Sunday, June 23, 1996

[Mini-digest: 4 responses]

The first thing that comes to mind for generating a CLSID from within an =
application is to run the GUIDGEN.EXE tool (which should be in the \bin =
folder) as a child process of your program.
However, if you want to have the generation of a CLSID as an integral =
part of your application you could also take the hard way by reading =
"DEC/HP, Network Computing Architecture, Remote Procedure Call Run Time =
Extensions Specification, Version OSF TX1.0.11), Steve Miller, July 23, =
1992. Chapter 10 describes the UUID/GUID allocation algorithm.

Cheers,

Frank

-----From: "John Elsbree" 

CoCreateGuid

-----From: Mike Boyken 

Derek,
	See the "CoCreateGuid" function.

	HRESULT CoCreateGuid(GUID  *pguid   );	//Receives a pointer to the GUID on return

Mike Boyken

-----From: David.Lowndes@bj.co.uk

>VC++4.1 NT4.0 Beta2
>
>How can I create a CLSID from within my application?
>

Use CoCreateGuid().

Dave Lowndes




| Вернуться в корень Архива |