🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.win32
3 messages
3 total messages Started by Jos Branders Fri, 13 Nov 1998 00:00
GUID's for Property Sheet Handlers
#2140
Author: Jos Branders
Date: Fri, 13 Nov 1998 00:00
24 lines
1352 bytes
Can anybody help me out here?

I want to make a Property Sheet Handler for the Windows shell.

Why is it that GUID's generated with GUIDGEN.EXE, like
{18b06a20-7B3a-11d2-b1c3-bd6b4f98a304}, don't work? The property sheet
simply doesn't appear.

But when i take a GUID from an existing (Microsoft Journal) example like
{8e3e0f0a-0fcc-11ce-bcb0-b3fd0e25381a}, all goes well!
What is the difference? Are there certain classes of GUID's for certain
applications? Do i need a special version of GUIDGEN.EXE or UUIDGEN.EXE? I
use the Borland version shipped with Borland C++ 5.02.

Any help would be appreciated.

--
Jos Branders

To reply by e-mail, remove the "nospam" part of my address.

Those who can, do.
Those who can't, teach.
Those who can't teach, rule.
Re: GUID's for Property Sheet Handlers
#2141
Author: Raymond Chen
Date: Sun, 15 Nov 1998 00:00
21 lines
1556 bytes
On Fri, 13 Nov 1998 21:02:34 +0100, "Jos Branders"
<nospam.jb@mediaport.org> wrote:
>Why is it that GUID's generated with GUIDGEN.EXE, like
>{18b06a20-7B3a-11d2-b1c3-bd6b4f98a304}, don't work? The property sheet
>simply doesn't appear.
>
>But when i take a GUID from an existing (Microsoft Journal) example like
>{8e3e0f0a-0fcc-11ce-bcb0-b3fd0e25381a}, all goes well!

Probably because you forgot to change the GUID in both the sample
application and in the registry.  The two have to match.  The one
in the registry says, "Use this program to handle this GUID", and
the one in the program says, "Hey program, your job is to handle
this GUID".

Never, ever recycle somebody else's guid.  The "U" in GUID stands
for "unique".

--
(My return address is intentionally invalid; delete ".---" to get my real address.
My responses are not to be considered official technical support or advice.)
Re: GUID's for Property Sheet Handlers
#2142
Author: Jos Branders
Date: Mon, 16 Nov 1998 00:00
24 lines
1582 bytes
Raymond Chen wrote in message <365d676f.2290680384@news.alt.net>...
>On Fri, 13 Nov 1998 21:02:34 +0100, "Jos Branders"
><nospam.jb@mediaport.org> wrote:
>>Why is it that GUID's generated with GUIDGEN.EXE, like
>>{18b06a20-7B3a-11d2-b1c3-bd6b4f98a304}, don't work? The property sheet
>>simply doesn't appear.
>>
>>But when i take a GUID from an existing (Microsoft Journal) example like
>>{8e3e0f0a-0fcc-11ce-bcb0-b3fd0e25381a}, all goes well!
>
>Probably because you forgot to change the GUID in both the sample
>application and in the registry.  The two have to match.  The one
>in the registry says, "Use this program to handle this GUID", and
>the one in the program says, "Hey program, your job is to handle
>this GUID".


You hit the nail right on the head! I didn't take the same GUID in the
application.
This was the only reaction i got, but it's really the one i needed.

Thanks very much.

Jos Branders
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads