Registering mstask without DllRegisterServer

Roy Shea royshea at gmail.com
Wed Jul 2 20:17:47 CDT 2008


Howdy,

I'm looking for advice on how to add registry entries for an
implementation of the mstask Task Scheduler Service.

The mstask DLL does not provide DllRegisterServer or
DllUnregisterServer.  To mirror this within my version I'm assuming that
DllRegisterServer / DllUnregisterServer are off limits.  For
registration I'm currently planning to to extend wine.inf.in directly
with the required registry entries.  The barebones version of mstask
this would add to the classes section:

----
HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503},,,"CTaskScheduler"
HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,,,"mstask.dll"
HKCR,CLSID\{148BD52A-A2AB-11CE-B11F-00AA00530503}\InProcServer32,"ThreadingModel",,"Both"
----

See the attached patch for details.  I'm not completely happy with this
approach.  Any insight into a cleaner way to add the mstask registry
data into wine?

Thanks!
-Roy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mstask_registration.patch
Type: text/x-patch
Size: 824 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080702/781a7d92/attachment.bin 


More information about the wine-devel mailing list