Just a tip

TeeChart for ActiveX, COM and ASP
Post Reply
JKO
Newbie
Newbie
Posts: 16
Joined: Mon Mar 26, 2012 12:00 am

Just a tip

Post by JKO » Fri Apr 06, 2012 10:34 am

You would do me (and probably others) a great favor if you could/would distribute new/maintenance version of the AX-component in a light version.
I have no need to recieve and install the complete help, demo's, tutorials, examples, etc.
The only thing I'm interrested in (especcialy with a maintanance release) is the new ocx, the whats new/changed and, if applicable, the advice to recreate the object model of TC.


Enjoy the easter weekend,

Jack

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

Re: Just a tip

Post by Yeray » Tue Apr 10, 2012 10:45 am

Hi Jack,

We'll study the viability to provide a zip containing the ocx, the cab(s), the readme.txt and the license.txt.
If you need it for the actual maintenance release, don't hesitate to let us know.
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

JKO
Newbie
Newbie
Posts: 16
Joined: Mon Mar 26, 2012 12:00 am

Re: Just a tip

Post by JKO » Tue Apr 10, 2012 1:08 pm

Hi Yeray,

I don't need it anymore. It installed the whole "Christmas tree" under the 2012 version. After that I deinstalled everything but the help and the 2011 and 2012 ocx and registered the 2012 version.

Now, the new 2012 release causes me troubles. It doesn'y work within my ide (enviroment crashes). Also all of my executables crash.
Renaming the (old) 2011 version to Teechart2012.ocx, and everthing works like a charm. Could there be some bug in the 2012 version?

Greetings,

Jack

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

Re: Just a tip

Post by Yeray » Tue Apr 10, 2012 3:02 pm

Hi Jack,
JKO wrote:Now, the new 2012 release causes me troubles. It doesn'y work within my ide (enviroment crashes). Also all of my executables crash.
Renaming the (old) 2011 version to Teechart2012.ocx, and everthing works like a charm. Could there be some bug in the 2012 version?
What IDE are you using? What kind of crash are you getting and how can we reproduce it?
Thanks in advance.
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

JKO
Newbie
Newbie
Posts: 16
Joined: Mon Mar 26, 2012 12:00 am

Re: Just a tip

Post by JKO » Wed Apr 11, 2012 4:34 pm

Hi Yeray,

I'm still investigating.
My enviroment is called Visual Objects (a kind of clipper for windows).

The code line which my program can't handle lookes like:
SELF:oDCTC:CreateEmbedding('TeeChart.TChart')

Running the program from within the IDE resorts to
"An unhandled exeption occured in module MSVCRT.DLL" (makes sense, the IDE is written in VC).

Running the compiled program results in an error 50 which is an access violation. Probably the object isn't created.

Like I said; Renaming (and using) the "old" TeeChart2011.ocx to TeeChart2012.ocx fixes the issue.
Hope this helps.

Greetings,

Jack

JKO
Newbie
Newbie
Posts: 16
Joined: Mon Mar 26, 2012 12:00 am

Re: Just a tip

Post by JKO » Thu Apr 12, 2012 2:33 pm

Hoi Yeray,

I just downloaded and installed the final AX 2012 version. After a quick check it turns out that I still have the same problem. My applications crash as soon as the Teechart component is initialized.

What is working are the demo's, so the installation should be OK.
What is not working are the Excel en Word examples. The produce simular errors (see pictures) as my applications.
Excel error.JPG
Excel error
Excel error.JPG (118.51 KiB) Viewed 20874 times
Word error.JPG
Word error
Word error.JPG (113.9 KiB) Viewed 20874 times
Are there other things I can check? Like I said before, replacing the 2012 ocx by renaming the 2011 ocx solves the issue.
My configuration:
Win 7 Ultimate x64
MS Office Pro x64

Greetings,

Jack

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

Re: Just a tip

Post by Yeray » Fri Apr 13, 2012 10:05 am

Hi Jack,

I'm using the same OS but Office Pro 2010 x86 and the Excel examples shipped with TeeChart ActiveX v2012.0.0.1 seem to work fine.
We'll try to test it in an x64 Office. If you have access to an x86 Office, you could also give it a try.
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

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

Re: Just a tip

Post by Yeray » Fri Apr 13, 2012 12:20 pm

Hi Jack,

I've just tried it with Office x64 and it seems to work without errors either.
Microsoft Office Professional Plus 2010, version: 14.0.6023.1000 (64-bit)
Windows 7 Ultimate 64-bit, Service Pack 1

Do you have another machine where you can try it?
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

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

Re: Just a tip

Post by Yeray » Tue Apr 17, 2012 9:41 am

Hi Jack,

Regarding this,
JKO wrote:My enviroment is called Visual Objects (a kind of clipper for windows).

The code line which my program can't handle lookes like:
SELF:oDCTC:CreateEmbedding('TeeChart.TChart')

Running the program from within the IDE resorts to
"An unhandled exeption occured in module MSVCRT.DLL" (makes sense, the IDE is written in VC).

Running the compiled program results in an error 50 which is an access violation. Probably the object isn't created.

Like I said; Renaming (and using) the "old" TeeChart2011.ocx to TeeChart2012.ocx fixes the issue.
There were some security changes applied to v2012 that could be causing this. I've sent you a v2012 with these changes reverted so you can check if it works fine for you in that IDE. Then, if it works, we could try to determine what concrete change affected this.
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

JKO
Newbie
Newbie
Posts: 16
Joined: Mon Mar 26, 2012 12:00 am

Re: Just a tip

Post by JKO » Tue Apr 17, 2012 4:18 pm

Hi Yeray,

I recieved your updated 2012 ocx. Thanks for this.

Unfortunatly there is no change in the behaviour. My IDE still crashes, my applications crash on initializing the control. The 2011 ocx still works fine.
What's remarkable is when running my applications from within the IDE, during the crash "an unhandeled exception occured in module LPK.DLL" is reported. To my knowledge the Visual Objects IDE doesn't use the LPK.DLL nor does my application. Maybe this helps.


Greetings,

Jack

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

Re: Just a tip

Post by Yeray » Tue Apr 24, 2012 10:43 am

Hi Jack,

Excuse us for the delayed reply here.
It could also be related to the exd files. So it would be helpful if you could search and remove all the TeeChart.exd files present in your machine. They are usually at:
"C:\Documents and Settings\YourUsername\Local Settings\Temp\Excel8.0"
"C:\Documents and Settings\YourUsername\Local Settings\Temp\Word8.0"
"C:\Documents and Settings\YourUsername\Local Settings\Temp"
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

JKO
Newbie
Newbie
Posts: 16
Joined: Mon Mar 26, 2012 12:00 am

Re: Just a tip

Post by JKO » Fri Apr 27, 2012 9:59 am

Hi Yeray,

I found 2 *.exd files (but in other paths) and deleted them. No change.
My IDE and applications still crash with 2102 ocx. No problem with 2011 ocx.

The above mentioned primairy error 50 refers to a call of a method that does not exist OR the refered object (of the method called) is not initiated and is therefore a NULL_OBJECT. Something regarding the initialisation of TeeChart (2011 vs. 2012) has changed ! You are the only one who can check what.

Greetings,

Jack

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

Re: Just a tip

Post by Yeray » Wed May 02, 2012 11:04 am

Hi Jack,

That's quite strange. We've checked the Excel examples shipped with the v2012 version and they seem to open and run without errors in different machines here.
Have you tried it in a second machine?
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

Post Reply