本文介绍了可以在XPE上开发OPC吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在XPE中开发了OPC客户端,但是我无法获得该项目的价值.在同一项目中,它可以在专业XP中运行.
I developped OPC client in XPE, but i can not get the item value. The same project, it can run in professional XP.
// Instantiate a new IKDataSink20:
m_pIDataSink20 = new IKDataSink20 ();
// Add ourselves to its reference count:
m_pIDataSink20->AddRef ();
// Advise the server of our data sink:
hr = pCP->Advise (m_pIDataSink20,
hr值总是错误的.你能告诉我原因吗?
对于专业的XP和XPE,我们注册了相同的opc dll,但是结果不同!
The hr value always wrong. Can you tell me the reason?
For the professional XP and XPE, we registered the same opc dlls, but different result!
推荐答案
这篇关于可以在XPE上开发OPC吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!