VC ++ MFC DLL问题 [英] VC++ MFC DLL problem

查看:121
本文介绍了VC ++ MFC DLL问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



实际上,我从供应商那里获得了SDK,并且也获得了示例应用程序.该示例应用程序是在VC ++ MFC应用程序(.exe)中设计的.根据我的要求,我需要创建.dll,其中某些功能无需任何GUI形式即可显示给客户.客户会将参数传递给我的函数.

我对以下几点有疑问.

1.我可以制作没有任何GUI形式的MFC DLL吗?有机会吗?

2.如果没有,是否可以通过任何其他VC ++模板将上述代码转换为DLL? (例如ATL/CLR/WIN32)

您能给上面的一些亮点吗?

谢谢,
Pattabi.

Hi,

Actually I got SDK from vendor & got sample application too. That sample application was designed in VC++ MFC application (.exe). For my requirement I need to create .dll with some functions exposed to the customer without any GUI form. Customer will pass the parameters to my function.

I am having doubt on following points.

1. Can I make MFC DLL without any GUI form? Is there any chance ?

2. If not , is there any way to convert the above code in to DLL in any of the other VC++ Template ? ( like ATL/ CLR / WIN32 )

Could you please shed some bright light on the above ?

Thanks,
Pattabi.

推荐答案

是的,您可以在没有GUI的情况下执行MFC DLL.
无论如何,可能您根本不需要MFC .为什么您认为需要它?
Yes, you can do a MFC DLL without GUI.
Anyway, probably you don''t need MFC at all. Why do you think you need it?




非常感谢您的答复.
就像我说的那样,客户的要求是只提供DLL,而不提供任何形式.我有一个带有所有必需功能的示例代码,该代码在MFC上具有某些GUI形式.如果我修改了上面的代码,那就绰绰有余了.

您能否建议一些不带任何形式的MFC教程/示例代码???????

谢谢,
帕塔比
Hi,

Thank you very much for your reply.
As I said ,the customer requirement is to give only DLL, Without any forms. I have one sample code with all the necessary functions which is on MFC with some GUI forms. If I modified the above code that is more than enough.

Could you please suggest some tutorial / sample code of the MFC without any forms ???????

Thanks,
Pattabi


这篇关于VC ++ MFC DLL问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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