Re: Dinput8: DirectInput8Create rewrite
On 5/15/06, Roderick Colenbrander <thunderbird2k(a)gmx.net> wrote:
Are you sure it is this patch that causes the regression and not
Vitaly's
latest one? This patch changes the way dinput8 objects are created and it does this similar to windows. Could you figure out what part breaks it?
Yes, I have tried without Vitaly's. CoCreateInstance is failing:
err:ole:CoCreateInstance apartment not initialised err:dinput:DirectInput8Create CoCreateInstance failed with hr = -2147221008 err:ole:CoGetClassObject class {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} not registered err:ole:CoGetClassObject class {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} not registered err:ole:CoGetClassObject no class object {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} could be created for context 0x3
Is this because I am missing registry entries?
Jesse
Yes, that's the reason. I forgot that I still need to send the patch for the registry settings. Basicly what you need to add is this: REGEDIT4 [HKEY_CLASSES_ROOT\CLSID\{25E609E4-B259-11CF-BFC7-444553540000}] @="Microsoft DirectInput8" [HKEY_CLASSES_ROOT\CLSID\{25E609E4-B259-11CF-BFC7-444553540000}\InProcServer32] @="C:\\windows\\system32\\dinput8.dll" "ThreadingModel"="Both" -- Echte DSL-Flatrate dauerhaft f�r 0,- Euro*! "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
participants (1)
-
Roderick Colenbrander