Cant load Direct2DDemo2010.csproj

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
StupidInstaller
Newbie
Newbie
Posts: 2
Joined: Tue Nov 09, 2010 12:00 am

Cant load Direct2DDemo2010.csproj

Post by StupidInstaller » Sun Nov 14, 2010 11:04 am

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
Attachments
ErrorWhenLoadingProject.PNG
Visual Studio 2010 error message
ErrorWhenLoadingProject.PNG (25.6 KiB) Viewed 10325 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Cant load Direct2DDemo2010.csproj

Post by Sandra » Mon Nov 15, 2010 3:57 pm

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

StupidInstaller
Newbie
Newbie
Posts: 2
Joined: Tue Nov 09, 2010 12:00 am

Re: Cant load Direct2DDemo2010.csproj

Post by StupidInstaller » Mon Nov 15, 2010 8:30 pm

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();
    }

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Re: Cant load Direct2DDemo2010.csproj

Post by Christopher » Tue Nov 16, 2010 4:41 pm

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.
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Cant load Direct2DDemo2010.csproj

Post by Sandra » Thu Nov 18, 2010 2:42 pm

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply