zoukankan      html  css  js  c++  java
  • cxlibw-5-0.dll was not found

    However every once in a while we are getting the following error message: 

    "This application has failed to start because cxlibw-5-0.dll was not found.  Re-installing the application may fix this problem."

    das programm kann nicht gestartet werden, da cxlibw-5-0.dll auf dem computer fehlt. Installieren Sie das Programm erneut, um das Problem zu beheben

    EDIT:- with thanks to Theo I made a few amendments to his solution to get it working for C# and it seems to work nicely...
     
    public void SetCrystalReportsPath()
    {
                   string crystalReportsPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) + "\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\";
     
                   if (Environment.Is64BitProcess)
                   {
                        crystalReportsPath += "win64_x64";
                   }
                   else
                   {
                        crystalReportsPath += "win32_x86";
                   }
     
                   Environment.SetEnvironmentVariable("path", Environment.GetEnvironmentVariable("path") + ";" + crystalReportsPath);
                   IntPtr intPtrZero = IntPtr.Zero;
                   SendMessageTimeout((IntPtr)0xffff, 0x001A, intPtrZero, "Environment", 2, 5000, intPtrZero);
    }

    http://scn.sap.com/thread/3203841

  • 相关阅读:
    Monad Maybe
    Linq怎么支持Monad
    创建我们第一个Monad
    Monad的重点
    解析器组合子
    NFA
    全排列算法
    R语言将数据框转成xts
    R语言的字符串处理
    wpf mvvm MenuItem的Command事件
  • 原文地址:https://www.cnblogs.com/zyip/p/3710927.html
Copyright © 2011-2022 走看看