如何使MFC应用程序与特定文件兼容 [英] How to make an MFC application compatible to a particular file

查看:56
本文介绍了如何使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

推荐答案

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


这篇关于如何使MFC应用程序与特定文件兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆