Page 1 of 1

TEEChart causes runtime errors when compiled with BDS2006

Posted: Wed May 17, 2006 10:58 am
by 9238611
I am moving my C++ project using TEECHARTPro VCL from Borland C++v6.0 to new BDS 2006, C++ personality.

I am having problem when I run a re-compiled (without errors) project.

An AccessViolation Exception is generated from the TEE library function "RegesterTeeTools" (I saw it in the Call Stack shown by BDS debugger).

What can I do to solve the problem ?
Obviously I have already installed the latest 7.07 version of TEEchart but this does not solve the problem.

Posted: Wed May 17, 2006 12:09 pm
by narcis
Hi fc,

Could you please send us an example we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.

Posted: Wed May 17, 2006 1:08 pm
by 9238611
I did it. Moreover stack capture follows
:7c81eb33 kernel32.RaiseException + 0x52
:005f3a5a ___raiseDebuggerException + 0x1A
:005f3b34 ; ___raiseDebuggerException
:7c9137bf ntdll.RtlConvertUlongToLargeInteger + 0x7a
:7c91378b ntdll.RtlConvertUlongToLargeInteger + 0x46
:7c91eafa ntdll.KiUserExceptionDispatcher + 0xe
:005b8461 Chart::RegisterTeeTools + 0x29
:005d785c Teetools::initialization + 0x18
:005fcd7f ; __startup
regards

Posted: Wed May 17, 2006 1:19 pm
by narcis
Hi fc,

It's most likely that BDS 2006 is still referencing old TeeChart packages. Please read the topics below about the same issue:

http://www.teechart.net/support/viewtopic.php?t=2108
http://www.teechart.net/support/viewtopic.php?t=2348

Still problems with TEE library initialization

Posted: Thu May 18, 2006 10:44 am
by 9238611
I follow your suggestion and I delete any old TEE library. Moreover, I manually replaced the component on the frames placing the new one.

Anyhow I still have problem as before ? Any suggestion :?:

Posted: Thu May 18, 2006 10:52 am
by narcis
Hi fc,

Have you tried turnin on Use Dynamic RTL at Project\Options\Linker\Linking?

If the problem persists please send us an example we can run "as-is" to reproduce the problem here.

Posted: Thu May 18, 2006 11:08 am
by 9238611
Yes, It generate a new and un-expected error.
I already send you the complete project yesterday as suggested. Maybe you did not receive it.
regards

Posted: Thu May 18, 2006 11:16 am
by 9238611
I just verify that my server stop the message sent-out with the project sources. There is any other method I can use to send you the project sources ? :?: Maybe attached to an e-mail ?

Posted: Thu May 18, 2006 11:34 am
by narcis
Hi fc,

I didn't receive yesterday's e-mail. If you can't post the message to the newsgroups please send it directly to me.