- Messages
- 368
- Country
Has anyone got SimConnect_CaptureImage to actually capture an image?
I've modified the sample CameraSystem sample in the SDK to capture an image of the added camera view when I press the joystick button. Everything seems to work, i.e. I no longer get any error messages when I press the trigger, however no image gets saved.
The line of code I'm using is below:
hr = SimConnect_CaptureImage(hSimConnect, "Test", "F:\\", 0, "SimconnectCamera - View 01", 1);
I've tried running as admin and still nothing. Any ideas? There's a couple of brief threads on the LM forums but none with an actual solution.
I've modified the sample CameraSystem sample in the SDK to capture an image of the added camera view when I press the joystick button. Everything seems to work, i.e. I no longer get any error messages when I press the trigger, however no image gets saved.
The line of code I'm using is below:
hr = SimConnect_CaptureImage(hSimConnect, "Test", "F:\\", 0, "SimconnectCamera - View 01", 1);
I've tried running as admin and still nothing. Any ideas? There's a couple of brief threads on the LM forums but none with an actual solution.