Page 1 of 1

Cant load Direct2DDemo2010.csproj

Posted: Sun Nov 14, 2010 11:04 am
by 15657833
Hello

I just bought teechart 2010 and cannot load the project Direct2DDemo2010.csproj

I get the error message as shown in the attachment.

Any ideas?

I am running Windows 7 ultimate with Visual Studio 2010

Thanks

Andrew

Re: Cant load Direct2DDemo2010.csproj

Posted: Mon Nov 15, 2010 3:57 pm
by 10050769
Hello Andrew,

I could reproduce it problem and I have solved it doing next steps:
  • 1.- Open with text editor(notepad, notepad++,...) Direct2DDemo2010.csproj
    2.- Remove next lines, that you will find end of file.

    Code: Select all

    <HintPath>C:\Program Files\Steema Software\TeeChart for .NET Digital Signal Processing\net40\TeeChart.Direct2D.dll</HintPath>
          <HintPath>C:\Program Files\Steema Software\TeeChart for .NET Digital Signal Processing\net40\TeeChart.dll</HintPath>
    3.- Try again to load project.
    4- Go to folder references and remove: TeeChart ,TeeChart.Direct2D
    5.- Add again files TeeChart.dll and TeeChart.Direct2D.dll, that you find in the folder \...\Steema Software\TeeChart for .NET Digital Signal Processing\net40
    6.- Clean solution and build it again
    7.- Run project.
Could you tell us if your demo project works fine now?

I hope will helps.

Thanks,

Re: Cant load Direct2DDemo2010.csproj

Posted: Mon Nov 15, 2010 8:30 pm
by 15657833
Hi Sandra,

Yes your suggestions worked and I can now compile and run the example.

Ok, another problem.I left the sample running and after a few minutes I get an out of memory exception. All types of graph caused this problem, speed demo, signal throughput, signal input etc.

If you run the sample you will see that the memory slowly increases. I checked simple things like you were deleting points from the series. It seems the only way of stopping the memory leak is to comment out the line tChart.Invalidate()

I think something is happening internally, either with the TeeChart control or SlimDX system. I am fairly familair with the TeeChart fastline series and I have not noticed any issues with the non Direct2D version of the DLL.

Please confirm if you find the same problem.

Thank you

Andrew

Code: Select all

protected override void DoTimerTick()
    {
        tChart.AutoRepaint = false;
        
        for (int i = 0; i < 500; i++)
        {
            fastLine.Add(count, rnd.Next(100, 500));
            ++count;
        }
        tChart.Axes.Bottom.SetMinMax(fastLine.XValues.Maximum - 10000, fastLine.XValues.Maximum);
        if (fastLine.Count >= 20000)
        {
            fastLine.Delete(0, 10000);
        }
      
        tChart.AutoRepaint = true;

        tChart.Invalidate();

        PointsPerFrame = (int)Math.Round(fastLine.XValues.Maximum - tChart.Axes.Bottom.Minimum);

        base.DoTimerTick();
    }

Re: Cant load Direct2DDemo2010.csproj

Posted: Tue Nov 16, 2010 4:41 pm
by Chris
Hello!
StupidInstaller wrote: Please confirm if you find the same problem.
Yup, I've confirmed it here. We'll try to have this fixed for the next maintenance release, due out in a couple of weeks time.

Re: Cant load Direct2DDemo2010.csproj

Posted: Thu Nov 18, 2010 2:42 pm
by 10050769
Hello Adrew,

I inform, that you can find a new version of TeeChartDirect2D. You can download it in the next link: http://www.steema.com/clientaccess

Thanks,