Let's see if I can submit patches with this mailer... Log: Ove Kaaven <ovek@transgaming.com> Make NdrDllRegisterProxy use the interface stub header instead of the interface proxy header to avoid stubless proxy ambiguities.
Index: dlls/rpcrt4/cpsf.c =================================================================== RCS file: /cvsroot/rewind/rewind/dlls/rpcrt4/cpsf.c,v retrieving revision 1.2 diff -u -r1.2 cpsf.c --- dlls/rpcrt4/cpsf.c 6 Dec 2002 09:59:24 -0000 1.2 +++ dlls/rpcrt4/cpsf.c 15 Feb 2003 21:44:40 -0000 @@ -152,7 +152,7 @@ while (*pProxyFileList) { unsigned u; for (u=0; u<(*pProxyFileList)->TableSize; u++) { - CInterfaceProxyVtbl *proxy = (*pProxyFileList)->pProxyVtblList[u]; + CInterfaceStubVtbl *proxy = (*pProxyFileList)->pStubVtblList[u]; PCInterfaceName name = (*pProxyFileList)->pNamesArray[u]; LPSTR iid; @@ -179,7 +179,7 @@ /* register clsid to point to module */ snprintf(keyname, sizeof(keyname), "CLSID\\%s", clsid); GetModuleFileNameA(hDll, module, sizeof(module)); - TRACE("registering %s => %s\n", clsid, module); + TRACE("registering CLSID %s => %s\n", clsid, module); if (RegCreateKeyExA(HKEY_CLASSES_ROOT, keyname, 0, NULL, 0, KEY_WRITE, NULL, &key, NULL) == ERROR_SUCCESS) { if (RegCreateKeyExA(key, "InProcServer32", 0, NULL, 0, @@ -212,7 +212,7 @@ while (*pProxyFileList) { unsigned u; for (u=0; u<(*pProxyFileList)->TableSize; u++) { - CInterfaceProxyVtbl *proxy = (*pProxyFileList)->pProxyVtblList[u]; + CInterfaceStubVtbl *proxy = (*pProxyFileList)->pStubVtblList[u]; PCInterfaceName name = (*pProxyFileList)->pNamesArray[u]; LPSTR iid; @@ -229,7 +229,7 @@ /* unregister clsid */ snprintf(keyname, sizeof(keyname), "CLSID\\%s", clsid); GetModuleFileNameA(hDll, module, sizeof(module)); - TRACE("unregistering %s <= %s\n", clsid, module); + TRACE("unregistering CLSID %s <= %s\n", clsid, module); RegDeleteKeyA(HKEY_CLASSES_ROOT, keyname); /* done */