Solution
These issues are caused by Windows OS treating your software as a DPI-aware application. You can get around this problem by using an external manifest to tell Windows not to treat your software as a DPI-aware application, steps below describe how to do this:
- On your local machine: enable the registry key to use external manifests.
- Open RegEdit as an administrator and go to the key: HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > SideBySide
- Add the registry key PreferExternalManifest as a new DWORD (32-bit) value
- Set the key value to 1, with Decimal selected.
- Add the attached .manifest file to the software installation directory, in the same location as software executable, like cvi.exe or SeqEdit.exe in the case of TestStand. Rename the .manifest file to be <Name of Executable>.exe.manifest, like cvi.exe.manifest. Use version 2 of the .manifest file if the original version does not work.
- Restart your machine.
- Launch your software.
- For Deployments: embed a manifest file in your executable.
- Go to the Build menu and select the configuration you want to embed the manifest file in.
- Select Target Settings… from the build menu.
- Check Embed manifest file and select the manifest file that disables DPI-awareness, like the one attached below. Use version 2 of the .manifest file if the original version does not work.
- Rebuild your executable.