Application built using TeeChart fails to start

TeeChart for ActiveX, COM and ASP

Application built using TeeChart fails to start

Postby 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
Hari
Newbie
Newbie
 
Posts: 12
Joined: Wed Jun 09, 2010 12:00 am

Re: Application built using TeeChart fails to start

Postby 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.
User avatar
Narcís
Site Admin
Site Admin
 
Posts: 12416
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia

Re: Application built using TeeChart fails to start

Postby 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
Hari
Newbie
Newbie
 
Posts: 12
Joined: Wed Jun 09, 2010 12:00 am

Re: Application built using TeeChart fails to start

Postby 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
Yeray Alonso

Steema Support Central
http://support.steema.com/
http://twitter.com/SteemaSoftware
Yeray
Site Admin
Site Admin
 
Posts: 2804
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia


Return to Activex

Who is online

Users browsing this forum: No registered users and 1 guest

cron