Registering DLL's

Jeff Smith whydoubt at hotmail.com
Wed Dec 4 12:36:29 CST 2002


I was looking at entry C.5 of the 0.9 Todo list:
"Make Wine's DLLs register themselves to avoid manual merging of the 
winedefault.reg [TODO]"

Upon first glance I figured the approach is to (not necissarily in
this order): add regsvr32.exe calls in the installation scripts,
fill in the DllRegisterServer (and DllUnregisterServer) sections of
the appropriate libraries, and remove those entries from
winedefault.reg.

About a dozen dll files have their names in winedefault.reg.  So I
checked the native versions of these files, and only half of them have
a DllRegisterServer function.  I did some further research and found
that perhaps DllInstall was what I needed.  Well, that only adds one
library, and two have *both* functions.

Does anyone have any better ideas on what the "Right Way" to tackle
this item is?  I am sure that adding external functions that do not
exist in native versions is *not* the way.

-- Jeff S

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




More information about the wine-devel mailing list