Robert Reif reif@earthlink.net writes:
OK. Here is the beginnings of a joystick test. I want to use c_dfDIJoystick2 which is defined as extern in dinput.h and exists in dinput.dll.so but is not exported. It's also not exported in windows dinput.dll but it is in dinput.lib. This test (minus the wine hack) will compile, link (with dinput.lib) and run fine in XP. How do I get the same behavior in wine? I don't think the #include "../data_formats.c" hack is acceptable.
No, clearly not. I guess the best solution would be to put that data in one of the existing static libraries, for instance in libdxguid.a. It's not 100% compatible, but it should be close enough.