Hello,
I have to change the setting for a particular Exe. Without program i can do the below steps,
- Open Nvidia control panel.
- 3D settings → Manage 3D settings.
- Program settings(Tab).
- Add (My Exe to the list Example: C:\MyApplication.exe).
- Change setting [OpenGL GDI compatibility] - Prefer compatible.
I need to do the same programmatically.
So i need to use Nvapi.h for this.
There are lot of interfaces inside this. But there is no sample code or enough comment.
I got the below sample code for changing the general setting.
This worked fine for changing the common setting(common for all Exe).
But i need to change the setting for a particular Exe.
Please help me to give some sample code for this.