Home Forums WinForms controls Xceed Chart for WinForms Exception : Could not load file or assembly ‘Xceed.Chart.GraphicsGL’

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #18966 |

    If you get this exception when trying to run 3D charts (using OpenGL), it may be due to the fact that you do not have the right Visual C++ runtime installed on the machine.

    We have started compiling our chart component with Visual Studio 2008 recently, and to run it, the system needs to have VC++ 2008 runtime installed, which is not the case on many systems, since it is not a required windows update, and not all systems have Visual Studio 2008 (which includes this runtime).

    So you can download it from here, install it on the target computer, and see if it resolves your issue.

    http://www.microsoft.com/downloads/details.aspx?familyid=D5692CE4-ADAD-4000-ABFE-64628A267EF0&displaylang=en

     

    Imported from legacy forums. Posted by André (had 5625 views)

    User (Old forums)
    Member
    Post count: 23064

    Also, if you are compiling your project on a 64-bit operating system, make sure that the build target is “x86” and not “AnyCPU”.

    This is because the OpenGL library is written for a 32-bit architecture.  The build will work on 64-bits operating system as long as the target is “x86” (not “AnyCPU”, not “x64”) because of WoW (Windows on Windows, http://en.wikipedia.org/wiki/Windows_on_Windows ).

    Imported from legacy forums. Posted by Ghislain (had 637 views)

    User (Old forums)
    Member
    Post count: 23064

    Can these runtimes be incorporated into our application’s setup package?

    We need our setup to be as simple as possible, and requiring customers to download and install something separately is not an option.

    Imported from legacy forums. Posted by Indrek (had 1048 views)

    User (Old forums)
    Member
    Post count: 23064

    It depends on what tool/installer you are using to do your deployments. 

    It is certainly possible, if you choose an installer that can do this kind of operations (launching a redistributable package from the installer) as this Microsoft package can be downloaded for free by everyone.  If you have some licencing issues in mind concerning the Microsoft redistributable package, you can contact Microsoft.

    I can’t see why the installer would have to download the package. 

    Best regards

    Imported from legacy forums. Posted by Ghislain (had 2051 views)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.