Dinput8: DirectInput8Create rewrite

Jesse Allen the3dfxdude at gmail.com
Mon May 15 14:14:16 CDT 2006

On 5/15/06, Roderick Colenbrander <thunderbird2k at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dinput8_initialize.diff
Type: application/octet-stream
Size: 2672 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060515/f1eec889/dinput8_initialize.obj

More information about the wine-devel mailing list