TeeChart for Compact Framework and Delphi Prism

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
WilliEbert
Newbie
Newbie
Posts: 28
Joined: Tue Jan 15, 2008 12:00 am
Contact:

TeeChart for Compact Framework and Delphi Prism

Post by WilliEbert » Mon Oct 26, 2009 8:44 pm

Hello,
we are currently testing Delphi prism from RAD Studio 2010 with compact framework as target on a windows mobile 6.0 PDA. The first program with database worked fine but we have sever problems to get your TChart components working, too. We know we have to install your TeeChart for .NET v3 EVALUATION from September 2009 and have to create the TChart by runtime with TeeChart.Pocket as Reference, like in your compact framework demo for c++

Can you help us?

You’re sincerely


Willi

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

Re: TeeChart for Compact Framework and Delphi Prism

Post by Sandra » Wed Oct 28, 2009 1:42 pm

Hello Willi,

I could make it works TChart using Compact Framework and Delphi prism. I have added a simple example that works using last version 3 of TeeChart .Net and Delphi prism.Please check this works fine.

For execute the project you could need add TeeChart.Pocket.dll(TeeChart.Net for Compact Framework). On the other hand, I found one link that explain as you do for make a project using Delphi prism anb Compact Framework, please see next video. Also, I recomend see next example of Delphi code in .Net project that found in link.

Finally,If you don't serve that information,you could say exactly if your problem in the application because we can reproduce the problem here?


I hope will helps.

Thanks,
Attachments
Hello.zip
(14.4 KiB) Downloaded 467 times
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

WilliEbert
Newbie
Newbie
Posts: 28
Joined: Tue Jan 15, 2008 12:00 am
Contact:

Re: TeeChart for Compact Framework and Delphi Prism

Post by WilliEbert » Wed Oct 28, 2009 5:58 pm

Hello,
I have no problems with Delphi Prism, Compact Framework and database. This works (i have my knowledge from the same video). But TeeChart does not work. And I have added your TeeChart.Pocket.dll. Therefore i can compile your sample code. But if I start the program on a real world windows mobile 6 PDA from HP your code crash but the database code worked.

I send you my code.

You’re sincerely

Willi Ebert
Attachments
hello.zip
screen shots of your program on my PDA
(62.76 KiB) Downloaded 439 times
HelloWorld.zip
Delphi Prism with Database Compact Framework and TeeChart
(39.58 KiB) Downloaded 443 times

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

Re: TeeChart for Compact Framework and Delphi Prism

Post by Sandra » Fri Oct 30, 2009 12:15 pm

Hello willi,

I couldn't reproduce your problem, here we could start the program and tChart1 appears and not crash. Please could say what is your TeeChart.Net version? On the other hand could you explain what we exactly have to do to reproduce problem here?

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

WilliEbert
Newbie
Newbie
Posts: 28
Joined: Tue Jan 15, 2008 12:00 am
Contact:

Re: TeeChart for Compact Framework and Delphi Prism

Post by WilliEbert » Fri Oct 30, 2009 1:26 pm

Hello,
As I mentioned in the first post we use TeeChart for .NET v3 EVALUATION from September 2009. To reproduce the error: have you used a real world windows mobile PDA 6 (in German) with NETCFv35.ppc.armv4.cab (compact framework 3.5) and sqlce.ppc.wce5.armv4i.CAB, sqlce.dev.DE.ppc.wce5.armv4i.CAB and sqlce.repl.ppc.wce5.armv4i.CAB (ms sql server compact 3.5) or do you use an emulator? And I have tolled you that your program crashed in the same way as my program. (see screen shots).
Please can you tell us what else do you want to know?

You’re sincerely

Willi Ebert

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

Re: TeeChart for Compact Framework and Delphi Prism

Post by Sandra » Mon Nov 02, 2009 10:30 am

Hello Will,
To reproduce the error: have you used a real world windows mobile PDA 6 (in German) with NETCFv35.ppc.armv4.cab (compact framework 3.5) and sqlce.ppc.wce5.armv4i.CAB, sqlce.dev.DE.ppc.wce5.armv4i.CAB and sqlce.repl.ppc.wce5.armv4i.CAB (ms sql server compact 3.5) or do you use an emulator?
I could use emulator WM 6.1 and the projects works fine.

On the other hand, I make a simple project using C# and Pocket PC (Visual C#/Smart Device/Pocket Pc 2003) with version 4 to TeeChartFor .Net. We need that you try reproduce this using C#, because we must be sure that the problem ocurrs only in Delphi Prims.

Please see next code and check that this works fine in your real PDA

Code: Select all

namespace Proves_CF
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }
        Steema.TeeChart.Styles.Bar bar1;
        private void InitializeChart()
        {

            TChart tChart1 = new TChart();
            this.Controls.Add(tChart1);
            bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            bar1.FillSampleValues(10);

                    
        }

    }
}
Also, You could check Demo Example of Compact Framework TeeChart .Net version 4 works correctly in your PDA. I recommend to test this programs using last version of Teechart .Net (version 4) too.


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

WilliEbert
Newbie
Newbie
Posts: 28
Joined: Tue Jan 15, 2008 12:00 am
Contact:

Re: TeeChart for Compact Framework and Delphi Prism

Post by WilliEbert » Mon Nov 02, 2009 1:11 pm

Hello,
we don't have any C# compiler for .net, sorry. Please send me the compiled program.
You’re sincerely

Willi Ebert

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

Re: TeeChart for Compact Framework and Delphi Prism

Post by Sandra » Tue Nov 03, 2009 9:18 am

Hello Willi,

I have added program .exe in the post. I have compiled this using last version4 Eval, so tu run the exe you may have to download version4 Eval TeeChartFor.Net. Then, only you add TeeChart.Pocket.dll the same folder where is application compiled, and run application.



Thanks,
Attachments
Proves_CF.zip
Compiled File needs TeeChart.Pocket.dll Eval4
(2.49 KiB) Downloaded 439 times
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

WilliEbert
Newbie
Newbie
Posts: 28
Joined: Tue Jan 15, 2008 12:00 am
Contact:

Re: TeeChart for Compact Framework and Delphi Prism

Post by WilliEbert » Tue Nov 03, 2009 11:54 am

Hello,
the key was to copy the TeeChart.Pocket.dll in the same folder as the program on the PDA. This was not mentioned in the docs. Now all samples worked. Thank you very much.

You're sincerely

Willi Ebert

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TeeChart for Compact Framework and Delphi Prism

Post by Narcís » Tue Nov 03, 2009 11:57 am

Hi Willi,

We are glad to hear your problem was solved. In Tutorial 17 - Designtime, Runtime and License Requirements, available at TeeChart's program group, it's mentioned that you need to include TeeChart assemblies with your applications.
Best Regards,
Narcís Calvet / 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