ChangEres(1024,768)的调用问题
Vfp9环境下,在windows10系统中,利用Myfll.fll中的ChangEres()函数,实现分辨率(1024,768)的窗口,但不起作用,请问还有什么办法?

LPARAMETERS _X,_Y lcDevMode=REPLICATE(CHR(0),156) DECLARE INTEGER EnumDisplaySettings IN user32 INTEGER,INTEGER,STRING @ DECLARE INTEGER ChangeDisplaySettings IN user32 STRING @,INTEGER *获取当前的显示模式 EnumDisplaySettings(0,4294967295,@lcDevMode) *改变已获取的显示模式中的分辩率(宽、高) lcDevMode=STUFF(lcDevMode,109,8,CHR(m._X%256)+CHR(m._X/256)+CHR(0)+CHR(0)+CHR(m._Y%256)+CHR(m._Y/256)+CHR(0)+CHR(0)) *使改变生效 ChangeDisplaySettings(@lcDevMode,1) CLEAR DLLS "EnumDisplaySettings","ChangeDisplaySettings"