DLL输出输入的数据量大

解决方案 »

  1.   

    输出一个函数,那还不都是一样的? 但是要记住,函数的调用约定一定要采用 stdcall
    ============================================================================
    http://www.betajin.com/alphasun/index.htm           给我发信息请附带原帖地址
    http://alphasun.18en.com/                    http://shakingtoolkit.9126.com/
    DocWizard C++程序文档自动生成工具 | Wave OpenGL | HttpProxy | AjaxParser词法分析
      

  2.   

    VC
    extern "C" __declspec(dllexport) int TypeDetect(short nChannel, BYTE buf[320])
    {
    .......
    }
    delphi
    function DetectFunction(nChannelNum:Integer; ReadBuf: PChar): Integer; cdecl; external 'TypeDetect.DLL' name 'TypeDetect';