www.mxdraw.com
内容索引主面
前一个向上下一个
MxDrawXCustomFunction::ReadBinStreamEx 方法

从二进流加载数据.

IDL
static BOOL ReadBinStreamEx(IMxDrawBinStream* pBinStream);
参数 
说明 
IMxDrawBinStream* pBinStream 
二进制流对象 

成功返回true.

例如:VB 使用例子.

        Dim param As MxDrawResbuf
        Set param = New MxDrawResbuf

        Dim ret As MxDrawBinStream

        Set ret = MxDrawX1.CallEx("WriteBinStreamEx", param)

        If ret.GetCount() > 0 Then

            MsgBox "保存成功执行"

        End If

        ' 读取
        Dim retRead As MxDrawResbuf
        Set retRead = MxDrawX1.CallEx("ReadBinStreamEx", ret)
        If retRead.AtString(0) = "Ok" Then
            MsgBox "读取成功执行"
        End If
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!