I think i know how to solve this problem:-
1.First open Start Menu
2.Select Control Panel
3.Go to System and Security
4.Then click on System
5.On the left hand side,Click on Advanced System Settings
6.A new window will pop up called System Properties
7.Click on Advanced Tab,under the Performance section click on Settings
8.Another window will pop up called Performance Options
9.Click on Data Execution Prevention
10.Under Data Execution Prevention,click on Turn on DEP for all programs and services those i select (Basically second option)
11.Click on add and browse your rpg maker executable file for that game( it is usually game.exe) and select it
12.Finally click on Apply
That's it,let me know if it worked.