Re: Bug with DragExt.dll
I've downloaded sources and found the reason. Martin, In functions
bool RegisterServer(bool AllUsers) and bool UnregisterServer(bool
AllUsers) you forcely use unicode versions of
RegCreateKey (RegCreateKeyW) and RegOpenKeyEx (RegOpenKeyExW).
It's wrong. In Windows 9X those functions are simply stubs in advapi32.dll. They do nothing.
They return ERROR_SUCCESS and didn't change value of HKey passed to them, so next calls to registry write functions write to parent key.
I rewrite DragExt.c for Visual C++ and it works fine now 8)
I've thought that this would be problem with Unicode on 9x. However I haven't found non-Unicode alternative to StringFromGUID2. Can you help me with this?