【问题标题】:Use easyzlib.dll in Visual Foxpro在 Visual Foxpro 中使用 easyzlib.dll
【发布时间】:2013-04-02 19:35:05
【问题描述】:

easyzlib 生成一个dll文件,并尝试注册它,但出现错误。 然后,在 Visual Foxpro 中创建一个项目以使用 ezlib.dll,但会产生其他错误: “找不到入口点 ezcompress int DLL。”

这是测试代码:

    DECLARE Integer ezcompress IN ezlib.Dll;
      unsigned char pDest, long pnDestlen, const unsigned char pSrc, long nSrcLen;
    DECLARE Integer ezuncompress IN ezlib.Dll;
      unsigned char pDest, long pnDestlen, const unsigned char pSrc, long nSrcLen;

    arq = GETFILE('TXT', 'ProcuraR UM txt:.', '', 1, 'Navegar')
    result = ezcompress(0, 0, @arq, 0)

    if(result >= 0)
        ? "Comprimido com sucesso!"

    Read Events

请帮帮我!

【问题讨论】:

    标签: compression visual-foxpro entry-point dllregistration entrypointnotfoundexcept


    【解决方案1】:

    DECLARE 中的函数名称区分大小写。这可能是你的问题吗?

    对于 VFP,您还可以考虑使用 Craig Boyd 的压缩库:http://www.sweetpotatosoftware.com/spsblog/2009/08/09/MajorVFPEncryptionUpdate.aspx

    【讨论】:

    • 我确定函数的名称是正确的。我会尝试使用 Crayg Boyd 的压缩库!感谢您的帮助!
    • 我需要一个使用 Craig Boyd 压缩文件 .TXT 的示例!谢谢
    • 这里有一篇关于使用库的文章:doughennig.com/papers/..%5CPub%5C201103dhen.pdf
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多