Solved

Program does nothing?

Posted on 2002-05-29
7
151 Views
Last Modified: 2013-11-20
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
Comment
Question by:DiuQiL
7 Comments
 
LVL 1

Expert Comment

by:gurly
ID: 7041916
Try to check the dependencies of the exe in the computer where it doesn't work.
(Use the dependcy walker).
0
 
LVL 8

Expert Comment

by:fl0yd
ID: 7042825
@ 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
 

Expert Comment

by:svillalba
ID: 7043796
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
 
LVL 1

Author Comment

by:DiuQiL
ID: 7043956
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
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 12084110
Submitted to PAQ with points refunded (50)

DarthMod
Community Support Moderator
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
isEverywhere  challenge 19 75
pre4 challenge 19 100
child constructor and parent constructor, overriding and overloading 6 84
Thin secure Windows 10 5 98
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question