如何使MFC应用程序与特定文件兼容

如何使MFC应用程序与特定文件兼容

问题描述:

基本上我用html视图创建了一个doc MFC应用程序。当我使用F5运行visual studio的应用程序时,它按预期运行。但是,当我双击Windows中的文件(如* .txt)启动我的MFC应用程序,但没有按预期运行。它没有正确读取文件。你能帮助我找到应该处理这种情况的地方。在哪里可以加载浏览器,文件即时双击。



提前致谢

Basically i have created a single doc MFC application with html view. When i run the application for visual studio using F5, it runs as expected. But when i double click the file(like *.txt) in windows in launches my MFC application but doesnt run as expected. it doesnt read the file properly. Can you help giving the trace where i should take care of this situation. As in where can i load the browser with the file i m double clicking.

Thanks in advance

您必须解析命令行 [ ^ ]。