Page 1 of 2

Release build scColorGrid does not work properly

Posted: Tue Jul 07, 2009 1:03 pm
by 15050891
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

Re: Release build scColorGrid does not work properly

Posted: Tue Jul 07, 2009 1:12 pm
by 15050891
I have uploaded 2 screenshots depicting the problem for you. the file name is ColourGrid Plots.zip.

Regards
JB

Re: Release build scColorGrid does not work properly

Posted: Tue Jul 07, 2009 3:08 pm
by narcis
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.

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 08, 2009 9:48 am
by 15050891
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

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 08, 2009 10:07 am
by yeray
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?

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 08, 2009 12:05 pm
by 15050891
Hello,

I have uploaded a simpler project to illustrate the problem

Regards
JB

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 08, 2009 2:13 pm
by yeray
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

Re: Release build scColorGrid does not work properly

Posted: Thu Jul 09, 2009 12:13 pm
by 15050891
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

Re: Release build scColorGrid does not work properly

Posted: Thu Jul 09, 2009 1:33 pm
by yeray
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)?

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 29, 2009 7:56 am
by 15050891
Hello,

I am attaching a zip file to the reply.

Just unzip test.zip to c:\test

Regards
JB

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 29, 2009 8:00 am
by 15050891
Hello,

I noticed the file did not upload due to size restrictions

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 29, 2009 8:05 am
by narcis
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.

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 29, 2009 8:23 am
by 15050891
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

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 29, 2009 11:24 am
by yeray
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?

Re: Release build scColorGrid does not work properly

Posted: Wed Jul 29, 2009 1:10 pm
by 15050891
Hello,

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

Regards
JB