<div dir="ltr"><div><div>"regsvr32.exe d3drm.dll" returns an error saying DllRegisterServer was not found.<br><br></div>I compiled the test below and ran it on an XP VM (which had the dx7 SDK installed) just to be sure that my native win8.1 box wasn't the issue:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">CoInitialize(NULL);<br>hr = CoCreateInstance(&CLSID_CDirect3DRM, NULL, CLSCTX_INPROC_HANDLER, &IID_IDirect3DRM, &d3drm);<br>ok(hr == D3DRM_OK, "Got %#x for IID_IDirect3DRM\n", hr);<br>hr = CoCreateInstance(&CLSID_CDirect3DRMTexture, NULL, CLSCTX_INPROC_HANDLER, &IID_IDirect3DRMTexture3, &texture3);<br>ok(hr == D3DRM_OK, "Got %#x for IID_IDirect3DRMTexture3\n", hr);<br></blockquote><br></div>Got the following results:<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">d3drm.c:4309: Test failed: Got 0x80040154 for IID_IDirect3DRM<br>d3drm.c:4311: Test failed: Got 0x80040154 for IID_IDirect3DRMTexture3<br></blockquote><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 26, 2016 at 7:55 PM, Stefan Dösinger <span dir="ltr"><<a href="mailto:stefandoesinger@gmail.com" target="_blank">stefandoesinger@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
>> CoCreateInstance(&CLSID_CDirect3DRMTexture, NULL, CLSCTX_INPROC_SERVER,<br>
>> &IID_IDirect3DRMTexture3, &texture3) returns REGDB_E_CLASSNOTREG. Am I<br>
>> missing something?<br>
>><br>
> Does it work for IDirect3DRM? It may not be supposed to work, although<br>
> it's also possible d3drm.dll is just not properly registered.<br>
</span>If you copied d3drm.dll from XP you'll most likely have to register it with regsvr32.<br>
</blockquote></div><br></div>