> > > Diablo 2 directly queries the registry key I am afraid.
> > which one? in HKLM?
> 
> No, in HCU:
> 
> Call advapi32.227: RegOpenKeyExA(80000001,2b364b1c "SOFTWARE\\Microsoft\\Windows
> \\CurrentVersion\\Explorer\\Shell Folders",00000000,00020019,2b364afc) ret=00404
> ca5 fs=008f
We should do something like 
for(i=0; i<20; i++)
{
  SHGetSpecialFolderLocation( ... ,i, TRUE);
}
in wineinstall to create all folders and registry keys...

I'm thinking about to add some code for self-initializing in DllMain of shell32 
to the dll like:
- check a key (eg. Software/wine/...) if the shell32 is already initialized
- if not call a function for configuring a lot of things like adding many keys 
in HCR, create all directorys like above and initialize the ShellFolders keys

What about this till we have a decent setup for wine?


juergen

---
[EMAIL PROTECTED]

... from sunny Berlin

Reply via email to