Hi all,
We have a media player application that looks at it's playlist file and determines the required orientation.
We use SetScreenOrientation to set the orientation. If the orientation is different from what it is currently the screen is re-orientated and the app restarts as expected.
This has worked fine since we implemented it at the beginning of the year. No code has changed in this regard.
I have been upgrading the compiler as new releases came out though. Currently 5.2.
For the first time today I had to test this feature again and now it doesn't work. The screen is re-orientated but there is nothing visible on the screen (it's on the desktop). The app is still running though (I can trace the code in the IDE and it logs to files etc.)
If the orientation was correct and the app wasn't restarted then the app is visible.
Any idea what is wrong?
We have a media player application that looks at it's playlist file and determines the required orientation.
We use SetScreenOrientation to set the orientation. If the orientation is different from what it is currently the screen is re-orientated and the app restarts as expected.
This has worked fine since we implemented it at the beginning of the year. No code has changed in this regard.
I have been upgrading the compiler as new releases came out though. Currently 5.2.
For the first time today I had to test this feature again and now it doesn't work. The screen is re-orientated but there is nothing visible on the screen (it's on the desktop). The app is still running though (I can trace the code in the IDE and it logs to files etc.)
If the orientation was correct and the app wasn't restarted then the app is visible.
Any idea what is wrong?