发表于:2002-12-18 08:41:00
2楼
各位前辈:
问题已解决。以下是示例代码(VC):
HANDLE dsh;
DsErrorCode err;
HANDLE object;
dsh = (HANDLE)m_ActiveSystem.GetDataServerHandle();
err = DsStartDataServer(dsh);
err = DsCreateMsgDataObject(dsh, DS_MSG_OUT_BROADCAST_DOMAIN, NULL, NULL, 0, &object, NULL, 0);
err = DsStartMsgDataObject(dsh, object, FALSE);
err = DsSetMsgDataObject(dsh, object, sizeof(msgOut), (void *)&msgOut);
注:非本人解决,提示来自Echelon的LNS讨论组
多谢neuron 的关注。