Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

Program does nothing?

Ive written an MFC program with vc++5.  It runs fine on my computer (NT4) ...but when i try to run on other computers (not all, some) when i run it, it just does nothing.  Double click on it, no process, just ...nothing.

It doesnt ask for any DLL's, no errors ...nothing.


Can someone shed some light onto this problem ?
0
DiuQiL
Asked:
DiuQiL
1 Solution
 
gurlyCommented:
Try to check the dependencies of the exe in the computer where it doesn't work.
(Use the dependcy walker).
0
 
fl0ydCommented:
@ gurly:
Checking dependencies doesn't help in this scenario. If the executable did need some dll which it couldn't find on the machine in question it issues an error, which it obviously doesn't.
@ DiuQiL:
The only thing I could think of at the moment would be within CWinApp::InitInstance(). If it returns FALSE the application is shut down *BEFORE* a window is created and displayed. You should check whether you did overload InitInstance in your CWinApp-derived class and see if it can return FALSE. Can't give you a guarantee, but it's at least worth a try...
0
 
svillalbaCommented:
You could use the task manager to check that your process is running.
If you are using a Dialog based application, check that your main dialog has the visible property checked.
0
 
DiuQiLAuthor Commented:
my program used an activeX control.  When the control is not registered with windows the program didnt load.  So when i shipped my program, i included the activex control and regsvr32 and registered the control with windows. this seemed to correct the error.
0
 
DarthModCommented:
Submitted to PAQ with points refunded (50)

DarthMod
Community Support Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now