I am using Visual Studio Expresss 2012 to interface with a Logitech Extreme 3D Pro Joystick. Your documentation provides a series of functions which are for this purpose. Among them are joyGetNumDevs() and joySetCapture(), I have attempted to use these functions in a Win32 Desktop Application with two problems.
1. Your documentation says that Mmsystem.h is required and that we must include windows.h in order to get it. This is not true!!! We have to include Mmsystem.h in our code even though windows.h is included in stdafx.h, which is a default include for Win32 Apps..
2. Your documentation says that Winmm.lib is required to make the joystick functions available. Winmm.lib is not included automatically so we had to include in manually via the Project Properties dialog. However, even though we have included it, those two functions come up as unresolved externals when trying ot build the App.
So now what do we have to do to get access to the joystick functions? I do not wih to use the C++ Classes which are provided for this purpose.
I have provided the source code via my SkyDrive folder.
Thanks for your help.
AzPokey