Getting an OS opperation failed error.

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Richard Seaby
Newbie
Newbie
Posts: 58
Joined: Mon May 17, 2004 4:00 am
Contact:

Getting an OS opperation failed error.

Post by Richard Seaby » Wed Mar 14, 2007 3:02 pm

Hi I keep getting an OS error when i try an look at the general tab.

The message is "A call to an OS function failed." I am using d2005 with teechart version 7.07., on XP

If I double click the chart the editor pops up, clicking on the general tab causes the failure - any ideas?

I cant track it down at all. It might be related to the tms advofficeradiogroup component, but I am not sure.

Richard

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

Post by Narcís » Wed Mar 14, 2007 3:06 pm

Hi Richard,

Have you tried creating an application where the TMS component is disabled and check if the problem is also present there?

Thanks in advance.
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

Richard Seaby
Newbie
Newbie
Posts: 58
Joined: Mon May 17, 2004 4:00 am
Contact:

Post by Richard Seaby » Wed Mar 14, 2007 4:54 pm

Yes - it usually fixes the problem - still occurs very occasionally - I have talked to TMS but they do not have a copy of teechart. they have modified the bit of code that we isolated but it does not seem to have sorted it.

It seems to be an interaction between the two components - Do you have copy of tms? Otherwise I dont know how to proceed!

Richard

DJ
Newbie
Newbie
Posts: 17
Joined: Mon Apr 26, 2004 4:00 am
Location: So Cal

Post by DJ » Thu Mar 15, 2007 2:07 am

I have also encountered this problem. In my case, the raidogroup was on a TMS AdvToolPanel, you know the slide out panel. What I found is that the chart editor fails if the panel containing the raidogroupbox(it can be just a plain delphi raidogroup control) is slid out BEFORE initially displaying the editor. IF the chart editor is displayed first, before the raidogroup is displayed, the editor ALWAYS works. It seems that the problem might be in the way the editor is created and populated. I had a similar probelm in the past where TChart was creating unnamed components at run time which conflicted with a TMS control, I suspect something similar may be happening here. I would be very interested in seeing this resolved.

Thanks

Dan Sox

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

Post by Narcís » Mon Mar 19, 2007 10:31 am

Hi Richard,

We don't have TMS components either. Anyway we could try using an evaluation version of their components, if available. If not, we could try contacting TMS Software to see what can be done on that.

It would be very helpful if you let us know which is the exact TMS Software product we should use and and example project we can run "as-is" to reproduce the problem here.

You can post your files at our upload page.

Thanks in advance.
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

Richard Seaby
Newbie
Newbie
Posts: 58
Joined: Mon May 17, 2004 4:00 am
Contact:

Post by Richard Seaby » Wed Mar 21, 2007 9:38 am

Ok I will send you a some source code and an exe. Thanks

Richard Seaby
Newbie
Newbie
Posts: 58
Joined: Mon May 17, 2004 4:00 am
Contact:

Post by Richard Seaby » Wed Mar 21, 2007 9:59 am

I have sent a file to you - I am using TMS Component pack version 4.2 (the latest) - currently on Delphi 2005 on XP.

Thanks

Richard

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

Post by Narcís » Thu Mar 22, 2007 10:06 am

Hi Richard,

Thanks for the project. I tried replacing the TMS control for a Delphi radiogroup and couldn't reproduce the issue here using TeeChart Pro v7.07 VCL.

I've sent the project I used and its built .exe to your forums e-mail address. Could you please check if it works fine at your end and modify it so that we can reproduce the issue here?

Thanks in advance.
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

Richard Seaby
Newbie
Newbie
Posts: 58
Joined: Mon May 17, 2004 4:00 am
Contact:

Post by Richard Seaby » Thu Mar 22, 2007 10:19 am

It does appear to be an interaction between teechart and tms - Did you get the error with the exe I sent you?

could you try and download the trial? it is at
http://www.tmssoftware.com/aob.htm

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

Post by Narcís » Thu Mar 22, 2007 10:50 am

Hi Richard,

Yes, I could reproduce the issue using the .exe you sent and also using the trial version you suggested.

We will investigate the issue and get back to you when we have further news.

Thanks for your collaboration.
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

Richard Seaby
Newbie
Newbie
Posts: 58
Joined: Mon May 17, 2004 4:00 am
Contact:

Post by Richard Seaby » Thu Mar 22, 2007 10:54 am

Thank you for your collaboration! It is always difficult when two different component companies are involved - you dont know which way to turn.

Richard

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

Post by Narcís » Tue Mar 27, 2007 10:12 am

Hi Richard,

We have done some tests and debugged the project. The error we obtain is 1422, which refers to a combobox, but we think the error is wrong as TMS components are blocking TRadioGroup creation. This makes that all our editors that contain radio buttons (General, Legend, etc.) for some reason crash .

The crash is at TWinControl.CreateWnd in a TGroupButton instance, which is a base class o TRadioButton, for example, when creating the four radio buttons at Legend->Position->Position.

We would need to have TMS component source code to be able to comment out their code to see which is the exact problem. I've already informed TMS Components about this. You may want to contact them to follow up this issue.
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

Richard Seaby
Newbie
Newbie
Posts: 58
Joined: Mon May 17, 2004 4:00 am
Contact:

Post by Richard Seaby » Tue Mar 27, 2007 10:26 am

Thanks - I will give them an email. Hopefully we will get to the bottom of it soon!

DJ
Newbie
Newbie
Posts: 17
Joined: Mon Apr 26, 2004 4:00 am
Location: So Cal

Post by DJ » Thu Mar 29, 2007 5:16 pm

Narcis,

I have the source for the TMS components as well as the source for Teechart. If you send me the test project and a few instructions I would be quite happy to test your hypothesis, as this problem has plagued me for some time.

Dan Sox

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

Post by Narcís » Fri Mar 30, 2007 7:30 am

Hi Dan,

Sure! I've just sent, to your forums e-mail address, the project Richard sent me with some modifications to be able to run it here. If necessary I can also sent the original project Richard sent.

Thanks for your collaboration!
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