Exe will not start

Z

Zak

Hello,

I am having a problem with a program. I compile the program using VC++
pro. I use "depends.exe" to determine what DLLs the program is
linking. Then I use the Install Shield that comes with VC++ to create
a setup file. I run the setup file on my pc and it works great. My
problem is that when I try to install it on any* other system, the
install goes fine but when I try o run the program Nothing happens. I
double click and I don't see an error, the thing just doesn't do
anything! This is very frustrating as you can imagine. So, if any one
has had this problem in the past or if you just have a suggestion,
Please let me know...

Thanks

-Zak

*any system that does not have VC++ installed
 
T

Thomas Matthews

Zak said:
Hello,

I am having a problem with a program. I compile the program using VC++
pro. I use "depends.exe" to determine what DLLs the program is
linking. Then I use the Install Shield that comes with VC++ to create
a setup file. I run the setup file on my pc and it works great. My
problem is that when I try to install it on any* other system, the
install goes fine but when I try o run the program Nothing happens. I
double click and I don't see an error, the thing just doesn't do
anything! This is very frustrating as you can imagine. So, if any one
has had this problem in the past or if you just have a suggestion,
Please let me know...

Thanks

-Zak

*any system that does not have VC++ installed

Your issue is with the operating system, not the C++ language.
There are many platforms which support C++ but not DLLs
nor windows.

Seek out the proper newsgroups by reading the FAQ and
welcome.txt below.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library
 
R

red floyd

Zak said:
Hello,

I am having a problem with a program. I compile the program using VC++
pro. I use "depends.exe" to determine what DLLs the program is
linking. Then I use the Install Shield that comes with VC++ to create
a setup file. I run the setup file on my pc and it works great. My
problem is that when I try to install it on any* other system, the
install goes fine but when I try o run the program Nothing happens. I
double click and I don't see an error, the thing just doesn't do
anything! This is very frustrating as you can imagine. So, if any one
has had this problem in the past or if you just have a suggestion,
Please let me know...

Thanks

-Zak

*any system that does not have VC++ installed

You have an error on line 42 of arglebargle.cpp
 
C

Carl Muller

Zak said:
Hello,
I am having a problem with a program. [snip]
I double click and I don't see an error, the thing just doesn't do
anything!

Run it from the command-line to see if it gets any error there.
C++ follows the C paradigm of being command-line based, not GUI based.
Standard error messages may not be displayed if you are running it
from a GUI shell.

Your OS may also provide a way of displaying the value returned by the "main"
function, which may be of interest.

(oh and set your link options to be "statically linked")
 
I

Ioannis Vranos

Carl said:
Run it from the command-line to see if it gets any error there.
C++ follows the C paradigm of being command-line based, not GUI based.


And a compiled language which "is not command-line based"?

Standard error messages may not be displayed if you are running it
from a GUI shell.


Why?
 
I

Ioannis Vranos

Zak said:
Hello,

I am having a problem with a program. I compile the program using VC++
pro. I use "depends.exe" to determine what DLLs the program is
linking. Then I use the Install Shield that comes with VC++ to create
a setup file. I run the setup file on my pc and it works great. My
problem is that when I try to install it on any* other system, the
install goes fine but when I try o run the program Nothing happens. I
double click and I don't see an error, the thing just doesn't do
anything! This is very frustrating as you can imagine. So, if any one
has had this problem in the past or if you just have a suggestion,
Please let me know...

Thanks

-Zak

*any system that does not have VC++ installed


You should ask in microsoft.public.dotnet.languages.vc newsgroup.


If it doesn't appear in your news server use the public MS news server:

msnews.microsoft.com
 
C

Computer Whizz

Ioannis said:
And a compiled language which "is not command-line based"?

Did I miss something?
Seems to me that it doesn't need to be compiled to be a language...
VB6 isn't "command-line based", and is meant for the GUI environment.
 
I

Ioannis Vranos

Computer said:
Did I miss something?
Seems to me that it doesn't need to be compiled to be a language...
VB6 isn't "command-line based", and is meant for the GUI environment.

You were smart enough to not use VB .NET as an example. :)

Anyway, VB 6 hasn't console access?
 
C

Computer Whizz

Ioannis said:
You were smart enough to not use VB .NET as an example. :)

Anyway, VB 6 hasn't console access?

Haven't used VB .NET, so I couldn't say - so I I was lucky ;) .

Erm, you can take parameters from a console-based start... But AFAIK
it's typically easier to use the GUI as that's what VB6 is suited for.
I haven't used VB6 in quite some time!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,161
Latest member
GertrudeMa
Top