473,888 Members | 1,255 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exe will not start

Zak
Hello,

I am having a problem with a program. I compile the program using VC++
pro. I use "depends.ex e" 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

Jul 23 '05 #1
9 1445
Zak wrote:
Hello,

I am having a problem with a program. I compile the program using VC++
pro. I use "depends.ex e" 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.l earn.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
Jul 23 '05 #2
Zak wrote:
Hello,

I am having a problem with a program. I compile the program using VC++
pro. I use "depends.ex e" 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
Jul 23 '05 #3
"Zak" <za**********@g mail.com> wrote in message news:<11******* *************** @g14g2000cwa.go oglegroups.com> ...
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")
Jul 23 '05 #4
Carl Muller wrote:
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?
--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #5
Zak wrote:
Hello,

I am having a problem with a program. I compile the program using VC++
pro. I use "depends.ex e" 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.publi c.dotnet.langua ges.vc newsgroup.
If it doesn't appear in your news server use the public MS news server:

msnews.microsof t.com

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #6
Zak
tried that but there are no errors. Thank anyway...

Jul 23 '05 #7
Ioannis Vranos wrote:
Carl Muller wrote:
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"?


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.

--
CW
--
Jul 23 '05 #8
Computer Whizz wrote:
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?


--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #9
Ioannis Vranos wrote:
Computer Whizz wrote:
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?


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!

--
CW
--
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2169
by: Sugapablo | last post by:
file() works great, until you start looking at file that are very large, say 134MB. Is there any function that will return an array for each line of a file, but only for lines given as parameters? A function like file("/path/to/file",100,230) which would return lines 100 through 230 as an array.
100
9141
by: Peter | last post by:
Company thought DB2 will be better than Oracle. The bottom line is when you do select, the system crash. I think it may take 4-5 years for DB2 to reach Oracle standard. Peter
6
4785
by: Gustav Medler | last post by:
Hello, there is a known problem with Opera and the execution of content shown in <NOSCRIPT> tag. Everythings works fine, if there is only one simple script like: http://www.dr-wald.de/test/Opera-NOSCRIPT.html Switching off Javascript will show the alternative content. Javascript enabled will only show the JS-content, _not_ the <NOSCRIPT> content.
8
4079
by: Eric Lilja | last post by:
Hello, I had what I thought was normal text-file and I needed to locate a string matching a certain pattern in that file and, if found, replace that string. I thought this would be simple but I had problems getting my algorithm to work and in order to help me find the solution I decided to print each line to screen as I read them. Then, to my surprise, I noticed that there was a space between every character as I outputted the lines to the...
4
47569
by: Bill | last post by:
I need help closing a CMD window when it is executed from Access. 1) The batch file is called from Access. 2) Access closes, 3) the batch runs a copy of the access database (creating a backup) 4) Once the copy is complete, the batch file opens the Access database again 5) EXIT should close out the cmd window but it does not execute that line
1
2603
by: Next | last post by:
I have a new domain account to use with my Windows Services. The account name is WinServ. I am trying to test my Windows Service on my XP Pro machine. However the service won't start unless WinServ is a member of the Local Admin group of my computer. The only error message I get is "Access Denied". At first I thought it was a directory permission but the service still
5
2697
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp The Joy of Interoperability Sometimes a revolution in programming forces you to abandon all that's come before. To take an extreme example, suppose you have been writing Visual Basic applications for years now. If you're like many developers, you will have built up a substantial inventory of code in that time. And if you've been following...
0
1284
by: RobbRoss | last post by:
I have a c# web project from VS 2003 that went through the VS 2005 conversion wizard. The problem is that the C# code behind will not stop at the breakpoints. When the cursor is hovered above the breakpoint, they now have a Yield sign and the following message apprears: The breakpoint will not currently be hit. No symbols have been loaded for this document. I have read through the numerous post on this subject but none them provide...
4
2540
by: jonathan184 | last post by:
Hi I have a perl script, basically what it is suppose to do is check a folder with files. Now the files are checked using a timestamp with the command ls -l so the timestamp in this format is checked. Now what the script does is it checks the time stamp and creates a year folder if it does not exist and then creates a month folder if it does not exist and puts the respective files in the month folders. If the files are created this month then it...
1
3408
by: ylekot88 | last post by:
Hello. Yes, I am a newbie to Javascripting for a whole 3 weeks now. I have been given an assignment in a book that is horribly worded, and I have spent about 30 hours trying to figure out what I am doing wrong. The assignment itself is from the "javascript new perspectives" book, and gives about 25 steps stating what you need to do next, not really giving clear directions. What I can gather: the book gives an .htm pg, a .css, & a .js file which...
0
9961
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11186
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10439
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7990
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7148
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5825
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6015
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4642
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3252
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.