Home Forums WinForms controls Xceed Chart for WinForms Demo problems on 64-bit machine

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

    I am unable to run the Xceed Chart Explorer for .Net on an Intel Xenon 64bit machine.  When I run the program from menu or command line it exits immediately with no display or error.  Any ideas what may be happening?

    We have not issues on our 32-bit machines.

     Thanks in advance.

    Imported from legacy forums. Posted by Jim (had 2568 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi,

    You should to try to download and install the Microsoft Visual C++ 2008 SP1 Redistributable Package (x86).

    http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en

    The OpenGL library has a C++ dependency and this should solve the problem.  Otherwise, let us know.

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

    User (Old forums)
    Member
    Post count: 23064

    Hello,

     for me the Chart Explorer runs better on a 64-bit machine after installing this package. But for example the sample “All chart types > Grid Surface > General” still crashes with
    System.BadImageFormatException: File or Assembly Xceed.Chart.GraphicsGL, Version=4.2.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6 or a dependency was not found. It was tried to load a file with bad format [retranslated from German].
    File Name: Xceed.Chart.GraphicsGL, Version=4.2.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6
       bei Xceed.Chart.Core.ChartControlBase.CreateSceneGL()
       bei Xceed.Chart.Core.ChartControlBase.RecreateDevice()
       bei Xceed.Chart.Core.Settings.ChangeRenderSurface(Boolean bChangeDevice)
       bei Xceed.Chart.Samples.Explorer.Series.GridSurface.GridFillEffectUC.GridFillEffectUC_Load(Object sender, EventArgs e)
       bei System.Windows.Forms.UserControl.OnLoad(EventArgs e)
       bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       bei System.Windows.Forms.Control.CreateControl()
       bei System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
       bei System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
       bei System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
       bei System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
       bei System.Windows.Forms.Control.SetVisibleCore(Boolean value)
       bei Xceed.Chart.Samples.Explorer.MainForm.NavigationTreeView_AfterSelect(Object sender, TreeViewEventArgs e)
       bei System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
       bei System.Windows.Forms.TreeView.WmNotify(Message& m)
       bei System.Windows.Forms.TreeView.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Geladene Assemblys **************
    mscorlib
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.3082 (QFE.050727-3000).
        CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.
    —————————————-
    Xceed Chart Explorer
        Assembly-Version: 4.2.7076.3500.
        Win32-Version: 4.2.7076.3500.
        CodeBase: file:///C:/Program%20Files%20(x86)/Xceed%20Components/Bin/.NET/Xceed%20Chart%20Explorer.exe.
    —————————————-
    System.Windows.Forms
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
    —————————————-
    System
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
    —————————————-
    System.Drawing
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    —————————————-
    Xceed.Chart
        Assembly-Version: 4.2.100.0.
        Win32-Version: 4.2.8577.11540.
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Xceed.Chart/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.dll.
    —————————————-
    Xceed.Chart.UIControls
        Assembly-Version: 4.2.100.0.
        Win32-Version: 4.2.8577.11540.
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Xceed.Chart.UIControls/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.UIControls.dll.
    —————————————-
    Xceed.Chart.GraphicsCore
        Assembly-Version: 4.2.100.0.
        Win32-Version: 4.2.8577.11540.
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Xceed.Chart.GraphicsCore/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.GraphicsCore.dll.
    —————————————-
    Xceed.Chart.Core
        Assembly-Version: 4.2.100.0.
        Win32-Version: 4.2.8577.11540.
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Xceed.Chart.Core/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.Core.dll.
    —————————————-
    Xceed.Chart.Standard
        Assembly-Version: 4.2.100.0.
        Win32-Version: 4.2.8577.11540.
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Xceed.Chart.Standard/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.Standard.dll.
    —————————————-
    Xceed.Chart.Utilities
        Assembly-Version: 4.2.100.0.
        Win32-Version: 4.2.8577.11540.
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Xceed.Chart.Utilities/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.Utilities.dll.
    —————————————-
    Xceed.Chart.Graphics2D
        Assembly-Version: 4.2.100.0.
        Win32-Version: 4.2.8577.11540.
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Xceed.Chart.Graphics2D/4.2.100.0__ba83ff368b7563c6/Xceed.Chart.Graphics2D.dll.
    —————————————-
    System.Data
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.3053 (netfxsp.050727-3000).
        CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll.
    —————————————-
    System.Xml
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.3082 (QFE.050727-3000).
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
    —————————————-
    System.Windows.Forms.resources
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.42 (RTM.050727-4200).
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
    —————————————-
    mscorlib.resources
        Assembly-Version: 2.0.0.0.
        Win32-Version: 2.0.50727.3082 (QFE.050727-3000).
        CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.

    Imported from legacy forums. Posted by Torsten (had 644 views)

    User (Old forums)
    Member
    Post count: 23064

    Sorry for the delay, I was out of the office for quite a long time.

    When your build your application, make sure that you are selecting ‘x86’ (yes, ‘x86’, not ‘x64’) as the target instead of ‘Any CPU’ and this should solve your problem.  This is because if you leave the target to ‘Any CPU’ the compiler will build the app as if everything was tailored for the 64-bit architecture but the external library we are using is written in C++ 32-bit.  Hence the crash you’re seeing.

    Best regards

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

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