Page 1 of 1

Application built using TeeChart fails to start

Posted: Wed Jul 28, 2010 9:39 pm
by 15056363
Hi.

I have created an application using TeeChart ActiveX 8.0 in C++. When i run that application in another PC which doesn't have TeeChart, it fails to start and the error i get is:
This application has failed to start because mfc42d.dll was not found. Re-installing the application may fix this problem.
I then ran the Dependency Walker tool on my application (test.exe) and found that the DLLs, namely, IESHIMS.DLL and WER.DLL are missing. When i searched for this issue in other online forums, most of them said that this might be due to the usage of third party DLLs.

So can you tell me if there are any specific things to do before creating the application (.exe)? Should i change/include something in the environment path?

I am using Microsoft Visual C++ 6.0 for development and my OS is WinXP SP3.

Waiting for any replies.

Hari

Re: Application built using TeeChart fails to start

Posted: Thu Jul 29, 2010 9:51 am
by narcis
Hi Hari,

You should also deploy TeeChart8.ocx as described in tutorial 18. Tutorials can be found at TeeChart's program group.

Re: Application built using TeeChart fails to start

Posted: Thu Jul 29, 2010 6:27 pm
by 15056363
Hi.

I registered the "TeeChart8.ocx" file but i am still getting the same error when i run the application. I have made sure that the .ocx file and the application are present in the same folder.

Should i change some project settings before i build the application? I am building the MFC as a shared DLL. Does that make a difference?

Hari

Re: Application built using TeeChart fails to start

Posted: Mon Aug 02, 2010 12:14 pm
by yeray
Hi Hari,

I've seen in google that it seems to be a common problem. Could you please try what's suggested here?
I hope it helps.