I have analyzed an older application and tracing an error to this MFC class function. In some versions of Windows 10 and earlier version of Windows this method worked normally however newer build of Windows 10 and Windows 11 have generated this error. The file I am loading is a text file, and I have tried to changed folder and file permission