Release build scColorGrid does not work properly

TeeChart for ActiveX, COM and ASP
jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Release build scColorGrid does not work properly

Post by jacques » Tue Jul 07, 2009 1:03 pm

Dear Sir / Madam,

I am using Visual studio 2008 C++

The release build of my application displays a colorgrid incorrectly. The grid contains only 2 colours and minimum and maximum seems to be swapped around.

Regards
Jacques

jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Re: Release build scColorGrid does not work properly

Post by jacques » Tue Jul 07, 2009 1:12 pm

I have uploaded 2 screenshots depicting the problem for you. the file name is ColourGrid Plots.zip.

Regards
JB

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

Re: Release build scColorGrid does not work properly

Post by Narcís » Tue Jul 07, 2009 3:08 pm

Hi Jacques,

We need to reproduce the issue here to be able to debug it. Can you please attach a simple example project we can run "as-is" to reproduce the problem here and let us know which exact TeeChart version are you using?

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

jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Re: Release build scColorGrid does not work properly

Post by jacques » Wed Jul 08, 2009 9:48 am

Hello Narcis,

I have uploaded the project as well as a bin file.

After executing the code please perform the following steps:
Open the bin file after which a dialog page is loaded.
Press the plot button.

The code in question is contained in the
void UpdateSsdPlot(void);
void CreateSsdLinkedList(U32 blockId);
functions of the SnapshotModule.cpp file

I am using version 8.0.0.5 of the control.


regards
JB

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Release build scColorGrid does not work properly

Post by Yeray » Wed Jul 08, 2009 10:07 am

Hi Jacques,

The project you've uploaded references to "telemetry_msgs.h" and it's not present. Could you please send it to us or prepare a simple example project we can run as-is to reproduce the problem here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Re: Release build scColorGrid does not work properly

Post by jacques » Wed Jul 08, 2009 12:05 pm

Hello,

I have uploaded a simpler project to illustrate the problem

Regards
JB

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Release build scColorGrid does not work properly

Post by Yeray » Wed Jul 08, 2009 2:13 pm

Hi Jacques,

I'm still getting the following errors. Please could you tell us how to solve them to run your example?

Release mode:
Error 2 fatal error C1854: cannot overwrite information formed during creation of the precompiled header in object file: 'h:\yeray\examples\jacques\testcolorgraph\testcolorgraph\release\stdafx.obj' h:\yeray\examples\Jacques\TestColorGraph\TestColorGraph\New VC Classes\StdAfx.cpp 5 TestColorGraph

Debug mode:
Error 2 error LNK2001: unresolved external symbol "int __cdecl _AfxInitManaged(void)" (?_AfxInitManaged@@YAHXZ) mfcs90ud.lib TestColorGraph
Error 3 error LNK2001: unresolved external symbol "int __cdecl _AfxInitManaged(void)" (?_AfxInitManaged@@YAHXZ) mfcs90ud.lib TestColorGraph
Error 4 error LNK2001: unresolved external symbol "int __cdecl _AfxInitManaged(void)" (?_AfxInitManaged@@YAHXZ) mfcs90ud.lib TestColorGraph
Error 5 fatal error LNK1120: 1 unresolved externals H:\yeray\examples\Jacques\TestColorGraph\Debug\TestColorGraph.exe TestColorGraph
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Re: Release build scColorGrid does not work properly

Post by jacques » Thu Jul 09, 2009 12:13 pm

Hello Yeray,

I seem to have corrupted a project file.

I have uploaded a project and I have made certain it works.

Sorry for the inconvenience

Regards
JB

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Release build scColorGrid does not work properly

Post by Yeray » Thu Jul 09, 2009 1:33 pm

Hi Jacques,

Both me and Narcis are still getting the same errors than before.

The project you sent yesterday at 14:30 was called TestColorGraph.zip (649 KB) through jaquesb@yourdomain and the project you've sent today at 14:45 is called TestColor.zip (625 KB) and you've sent it through jacquesb@yourdomain.

Could you please send your projects as an attachment directly with the posts on this forum? It will help ensuring that we are talking about the same files.
Could you also, please, tell us if we could be missing to do any important step for being able to run your app (we simply unzip your files, open the sln file with VS2008 and try to rebuild in release or in debug mode)?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Re: Release build scColorGrid does not work properly

Post by jacques » Wed Jul 29, 2009 7:56 am

Hello,

I am attaching a zip file to the reply.

Just unzip test.zip to c:\test

Regards
JB

jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Re: Release build scColorGrid does not work properly

Post by jacques » Wed Jul 29, 2009 8:00 am

Hello,

I noticed the file did not upload due to size restrictions

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

Re: Release build scColorGrid does not work properly

Post by Narcís » Wed Jul 29, 2009 8:05 am

Hi jacques,

Did this occur at the forums or at the upload page? It it's the later please try sending it to info at steema dot com referencing this thread.

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

jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Re: Release build scColorGrid does not work properly

Post by jacques » Wed Jul 29, 2009 8:23 am

Hello,

This occurred on the forums, The restriction is 512kB.

I used your upload page to upload the project.

Just unzip it to c:\test

Regards
JB

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Release build scColorGrid does not work properly

Post by Yeray » Wed Jul 29, 2009 11:24 am

Hi Jacques,

I could reproduce the problem in your application. Then, I tried to reproduce it in a new CSharp application with an AXTeeChart control on it but couldn't.
That makes me think that you could be referencing old TeeChart classes in your project. Please, could you try to generate new ones (8.0.0.6) as explained here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jacques
Newbie
Newbie
Posts: 30
Joined: Thu Nov 20, 2008 12:00 am
Location: South Africa
Contact:

Re: Release build scColorGrid does not work properly

Post by jacques » Wed Jul 29, 2009 1:10 pm

Hello,

I installed the new teechart activeX control TeeChart Pro v8.0.0.6.11825 but I still get the same results.

Regards
JB

Post Reply