[c++] including a registry script resource

TJa

Grünschnabel
Hallo,

including a registry script resource - wie geht das ?

ich möchte aus einer Server- Komponente, die Funktion RegisterServer()
einer implementierten DLL aufrufen.

RegisterServer()

HRESULT RegisterServer(void)

The success of this operation is dependent on the application including a registry script resource as part of its EXE. The resource ID MUST be 102. An example resource script is shown below:

HKCR
{
NDI.SimulationSvr.1 = s 'NDI Simulation Server'
{ CLSID = s '{1E52DE00-FA5E-11d2-91C6-F8E932000000}'

.....
Für alle Tips und Ratschläge bin ich sehr dankbar

mfg

TJ
 
moin


Könntest du dein Problem mal etwas genauer beschreiben?
Zum Thema Registry findest du hier einiges per Suchfunktion!


mfg
umbrasaxum
 
Hallo umbrasaxum,

hier noch ein paar ergänzungen:

"AS PER THE USER MANUAL, the server registration script is bound to your module as a resource. It MUST have a resource ID value of 102."

"I remember that NDI distributes the registration script as part of the Toolkit. I think it is a little trickier than just registering a service because there is stuff about OPC that goes there so that OPC clients can find it."

mfg

TJ
 
Zurück