Problem in running code on Vista
Posted: Thu Mar 06, 2008 4:07 pm
Hi,
I have just upgraded from V4 of Teechart AciveX to V8. Unfortunately I am haing a problem getting my project to run on Vista machines. My program launches correctly but at the point it is due to create and display a chart I get a message saying that the program has stopped working. The problem details report an APPCRASH and indicate the faulty module is MFC42.dll - however I do not believe that this is the true cause as I use this module successfully with several other (non-Teechart) projects I am testing for comptability with the new Windows OS.
I am developing using MS Visual Studio V6 using VC++ and MFC. All my operations on the TeeChart object are performed programtically. I have run the supplied conversion utility to modify my TeeChart project from V4 to V8 (including the overwriting of Teechart class files with their later versions) and (after a couple of minor problems) the project now runs successfuly on my Windows XP development machine. However, when the same code is installed on a Vista machine I get the crash.
I believe that TeeChart8.ocx has been installed and registered correctly on the target Vista machine so I do not think this is causing the problem.
I am now running short of ideas (and time) and would like to know if anyone else has experienced similar problems when upgrading or if I have missed a vital step in converting my older project for TeeChart V8 compatibility on a Vista machine.
Many thanks for any assistance.
Rob
I have just upgraded from V4 of Teechart AciveX to V8. Unfortunately I am haing a problem getting my project to run on Vista machines. My program launches correctly but at the point it is due to create and display a chart I get a message saying that the program has stopped working. The problem details report an APPCRASH and indicate the faulty module is MFC42.dll - however I do not believe that this is the true cause as I use this module successfully with several other (non-Teechart) projects I am testing for comptability with the new Windows OS.
I am developing using MS Visual Studio V6 using VC++ and MFC. All my operations on the TeeChart object are performed programtically. I have run the supplied conversion utility to modify my TeeChart project from V4 to V8 (including the overwriting of Teechart class files with their later versions) and (after a couple of minor problems) the project now runs successfuly on my Windows XP development machine. However, when the same code is installed on a Vista machine I get the crash.
I believe that TeeChart8.ocx has been installed and registered correctly on the target Vista machine so I do not think this is causing the problem.
I am now running short of ideas (and time) and would like to know if anyone else has experienced similar problems when upgrading or if I have missed a vital step in converting my older project for TeeChart V8 compatibility on a Vista machine.
Many thanks for any assistance.
Rob