Hi,
I am using OIS to create tools for our engine. I now implemented an ActiveX frontend for it, so we can embed our engine inside Internet Explorer.
There are some problems with it though, which I think is a bug in OIS. I have to provide OIS with the toplevel window handle to be able to get it working (a DirectInput issue), but we should provide DirectInput with the actual window handle when setting the cooperative level. I am in a hurry now so I don't have time to look up the documentation reference for this, but I'll edit the post when I am at home.
The problem is that I can provide OIS only with one handle, which is used at the two places (when initializing DirectInput and when attaching to the window). This could be fixed by providing a second option or by getting the rootlevel window handle inside OIS (HWND topWindow = ::GetAncestor(m_hwnd, GA_ROOT)).
Anyway, OIS already saved me tons of time, so thanks for this library!
Greetz,
JeDi