Form1.h c中的MSWINSCK.OCX [英] MSWINSCK.OCX in form1.h c++

查看:64
本文介绍了Form1.h c中的MSWINSCK.OCX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我直接在我的form1.h中添加了MSWINSCK.OCX组件,它工作正常,但是这个com.为vb创建的,我的问题是,这种方法正确吗?我的意思是我的项目将来是否有任何问题?

i added MSWINSCK.OCX component directly in my form1.h, it''s worked correctly, but this com. created for vb, my question is, is this way correct? i mean do any problems at my project expected at future or not?
regards.

推荐答案

不确定当有更好的网络API可以直接从代码中调用时,为什么要在C ++中的表单上使用OCX控件但无论如何...要回答您的问题,不...如果它现在可以正常工作,直到您破坏某些东西为止.控件中的代码不会随时间而改变,并且考虑到MSWINSCK.OCX是一个非常成熟"的控件,我认为可以断定,如果它停止工作,则不是问题所在.
Not sure why you would use an OCX control on a form in C++ when there are much better network API''s that can be called directly from code but whatever... To answer your question, no... if it is working now it will work until you break something. The code in the control doesn''t change over time and considering MSWINSCK.OCX is a very "mature" control, I think it is safe to assume that if it stops working, it isn''t the control that is the problem.


这篇关于Form1.h c中的MSWINSCK.OCX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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