What these words mean?
-
In my project,I add a ATL object .The wizard add a ***.rgs file to my project.I open the file ,the text like this : HKCR { NoRemove AppID { {2C0CA281-E28B-41CA-838C-C7D1BEA311D2} = s 'NewEn' 'NewEn.EXE' { val AppID = s {2C0CA281-E28B-41CA-838C-C7D1BEA311D2} } } } Who can tell me what these words mean?
-
In my project,I add a ATL object .The wizard add a ***.rgs file to my project.I open the file ,the text like this : HKCR { NoRemove AppID { {2C0CA281-E28B-41CA-838C-C7D1BEA311D2} = s 'NewEn' 'NewEn.EXE' { val AppID = s {2C0CA281-E28B-41CA-838C-C7D1BEA311D2} } } } Who can tell me what these words mean?
Can I add some information into it?
-
In my project,I add a ATL object .The wizard add a ***.rgs file to my project.I open the file ,the text like this : HKCR { NoRemove AppID { {2C0CA281-E28B-41CA-838C-C7D1BEA311D2} = s 'NewEn' 'NewEn.EXE' { val AppID = s {2C0CA281-E28B-41CA-838C-C7D1BEA311D2} } } } Who can tell me what these words mean?
This is information that is added into the registry to "register" you COM server with Windows. HKCR = HKEY_CLASSES_ROOT The rest of the information is assigning an unique identifier to your COM exe server, so whe you make a CreateInstance call it knows which application to load. Michael 'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879
-
This is information that is added into the registry to "register" you COM server with Windows. HKCR = HKEY_CLASSES_ROOT The rest of the information is assigning an unique identifier to your COM exe server, so whe you make a CreateInstance call it knows which application to load. Michael 'War is at best barbarism...Its glory is all moonshine. It is only those who have neither fired a shot nor heard the shrieks and groans of the wounded who cry aloud for blood, more vengeance, more desolation. War is hell.' - General William Sherman, 1879
I see.Thinks a lot!