开发者

How to open the file in class in mfc?

While trying to open the file in Class in function oninitdialo开发者_JAVA技巧g(),It throws exception.If I open the file globally , it works. How to overcome this? why the fopen command is behaving like these?

Regards,

karthik


Actually I made a mistake by creating file descriptor in OninitDialog function in mfc.To overcome this , I create the file descriptor in constructor of the class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜