Hi Ken. Thanks for the offer, I found out what it was. The machine I was running it on didn't have the Visual Studio 8 runtimes. I just downloaded them and it worked fine after that. It would seem that this is a known issue. Cheers. Nick. -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Ken Perry Sent: 20 September 2007 04:22 To: programmingblind@xxxxxxxxxxxxx Subject: RE: C++ console application for visual studio 2005 I didn't see you say you got this fixed I saw answers that told you to use other compilers but if you didn't get this fixed I wouldn't mind helping you. A question I would have since you say they are running the program on another machine is what version of MsDos are they running on the machine for example are you compiling this in XP and they running it in 98 or is this the same versions of the command line? Are there any other dll dependencies other than .net don't assume its .net if you have other dependencies. You are correct in thinking it should run with out .net but you might want to look in the project file and make sure there is not something being snuck in. If you don't understand the project files I can read through it. I learned to write the damn things by hand a few months back so I understand almost every little thing in them. Ken -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Nick.Adamson@xxxxxxxxxxxxxxxxxxxxxx Sent: Wednesday, September 19, 2007 2:26 AM To: programmingblind@xxxxxxxxxxxxx; program-l@xxxxxxxxxxxxx Subject: C++ console application for visual studio 2005 Hi All. I'm having a problem which hopefully someone has come across. I've written an a console application in visual studio 2005 in c++. It compiles and runs fantastically on the box it was written on. If I move to a box which doesn't have visual studio 2005 or .net 2.0 the application won't run. It just returns strait away. I think it's a build option some ware which is telling it to have a dependency on .net. There is nothing in this application which uses .net, in fact it's pure ANSI c++, nothing microsofty at all. Does any one know if there's an option I need to change or have any ideas what this could be? Cheers. Nick. Nick Adamson Software Engineer General Dynamics UK LTD Email: nick.adamson@xxxxxxxxxxxxxxxxxxxxxx Tel: 01495 236467 http://www.generaldynamics.uk.com This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653. __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653. __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind