Application built using TeeChart fails to start

TeeChart for ActiveX, COM and ASP
Post Reply
Hari
Newbie
Newbie
Posts: 12
Joined: Wed Jun 09, 2010 12:00 am

Application built using TeeChart fails to start

Post by Hari » Wed Jul 28, 2010 9:39 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Application built using TeeChart fails to start

Post by Narcís » Thu Jul 29, 2010 9:51 am

Hi Hari,

You should also deploy TeeChart8.ocx as described in tutorial 18. Tutorials can be found at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Hari
Newbie
Newbie
Posts: 12
Joined: Wed Jun 09, 2010 12:00 am

Re: Application built using TeeChart fails to start

Post by Hari » Thu Jul 29, 2010 6:27 pm

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

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

Re: Application built using TeeChart fails to start

Post by Yeray » Mon Aug 02, 2010 12:14 pm

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.
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