15 May
2006
15 May
'06
7:14 p.m.
On 5/15/06, Roderick Colenbrander <thunderbird2k(a)gmx.net> wrote:
I think the issue is that CoInitialize isn't called from DirectInput8Create main. I think I missed this because my test app did this for me. Try to add a CoInitialize(NULL); and see if it helps. (and a CoUninitialize)
Ok, I did that and also called DirectInputCreateA,W so I get the DI structure properly allocated? I don't know how it is supposed to be cleaned up later. The following version of the patch works when linked to ole32 and has the registry stuff. Jesse