15 May
2006
15 May
'06
7:58 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
I will sent a cleanup version soon as I did some crucial thing wrong.. Roderick -- GMX Produkte empfehlen und ganz einfach Geld verdienen! Satte Provisionen f�r GMX Partner: http://www.gmx.net/de/go/partner