English 中文(简体)
Is CLSID in registry for windows operating system is constant
原标题:
  • 时间:2009-11-20 13:28:16
  •  标签:
  • registry

I am developing a windows mobile application where i need to get a registry value of notification settings ,that is stored with CLSID as a key .Can i depend on the CLSID for retrieving the value of a particular notification event.Will my application works in all the devices if i depend on CLSID .

问题回答

Most of the system CLSID are constant, to allow dynamic discovery of components; some COM components are using public CLSID.

For example, in DirectShow, filters are retrieved through their CLSID, to enable dynamic building of graphs.

Check the MSDN documentation about the CLSID you are interested in to see if it is publicly available and stable.

The idea of the CLSID is exactly to tie a particular class to a value that can be queried without executing any code. This is the reason why a CLSID will always work for a particular interface (in your case an event class). In that sense the idea behind IIDs and CLSIDs is the same.

However, it is well possible that the interface is completely unavailable in a subsequent version of the system. Otherwise, the idea behind the CLSID is that the interface is guaranteed to be (binary) compatible.

So either of these applies for the same CLSID value:

  1. unavailable
  2. compatible




相关问题
Is CLSID in registry for windows operating system is constant

I am developing a windows mobile application where i need to get a registry value of notification settings ,that is stored with CLSID as a key .Can i depend on the CLSID for retrieving the value of a ...

登记许可问题

vs2008, c. First time myhons# , it needs to establish a LM LMSoftware. 湿租赁

Reading registry values with cmake

On a Windows 7 machine I cannot read any registry values that contain a semicolon. For example if you have 7-zip, running the following SET(MYPATH [HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip;Path]) ...

How to check visible resolution of system

I am not entirely sure how to word this questions so I am just going to explain my problem. My VB 6 program saves the location of the screen in the registry so that when it loads up again it can have ...

How to read and write to registry using VB.NET

How do I read, write and delete a registry using VB 2005/2008? Please give your explanation to your answer. I am really a registry noob... Thanks. I can t read any programming language other than vb.

Installing a Windows Service as a user

I m currently in the process of creating a Windows service application which will monitor changes to certain keys made in the HKEY_USERS registry. The way I do this is by collecting the SID of the ...

热门标签