473,787 Members | 2,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Console Program in VS2005 for non-dotNet Platform

Hi,

I have written a simple console program in VS2005 and it should run on
computers that dosn't have .NET (not 1.1 and not 2.0).
I think it depends on the headerfiles? I have exculded the default
stuff (stdafx.h, stdafx.cpp). And I use the following headers:
#include <shlwapi.h>
#include <stdio.h>
#include <stdarg.h>
#include <vector>
#include <windows.h>
#include <tchar.h>
#include <math.h>
#include <string.h>
There are some "old" header files for this headers?

Greetings Thomas

Oct 19 '06 #1
3 1456
Hello, Thomas!

What's your problem? In VS2005 there is a wizard that will create basic
Win32 Console application. It will require .NET Framework to run

THi,

TI have written a simple console program in VS2005 and it should run
Ton
Tcomputers that dosn't have .NET (not 1.1 and not 2.0).
TI think it depends on the headerfiles? I have exculded the default
Tstuff (stdafx.h, stdafx.cpp). And I use the following headers:
T#include <shlwapi.h>
T#include <stdio.h>
T#include <stdarg.h>
T#include <vector>
T#include <windows.h>
T#include <tchar.h>
T#include <math.h>
T#include <string.h>
TThere are some "old" header files for this headers?

TGreetings Thomas


--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Oct 19 '06 #2
I need an application that does not use the .NET framework, but i'm
dependend on the VS2005. I have heared about to use the rigth header
files and the application is not more dependend at .NET, because it
should run on Win XP without .NET 1.1 and without .NET 2.0.
Thomas

Vadym Stetsyak schrieb:
Hello, Thomas!

What's your problem? In VS2005 there is a wizard that will create basic
Win32 Console application. It will require .NET Framework to run

THi,

TI have written a simple console program in VS2005 and it should run
Ton
Tcomputers that dosn't have .NET (not 1.1 and not 2.0).
TI think it depends on the headerfiles? I have exculded the default
Tstuff (stdafx.h, stdafx.cpp). And I use the following headers:
T#include <shlwapi.h>
T#include <stdio.h>
T#include <stdarg.h>
T#include <vector>
T#include <windows.h>
T#include <tchar.h>
T#include <math.h>
T#include <string.h>
TThere are some "old" header files for this headers?

TGreetings Thomas
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Oct 19 '06 #3
Great, Thanks, I haven't seen this option :-)
But It still doesn't run on .NET 1.1. Very weird. :-/

Vadym Stetsyak schrieb:
Hello, Thomas!

okay if you have VS2005 C++ project, then to disable dependance on
.NET Framework go to
Project Settings -Configuration Properties - General -Common Language Runtime support
select "No Common Language Runtime support"

TI need an application that does not use the .NET framework, but i'm
Tdependend on the VS2005. I have heared about to use the rigth header
Tfiles and the application is not more dependend at .NET, because it
Tshould run on Win XP without .NET 1.1 and without .NET 2.0.
TThomas

TVadym Stetsyak schrieb:
Hello, Thomas!
What's your problem? In VS2005 there is a wizard that will create
basic
Win32 Console application. It will require .NET Framework to run
THi,
TI have written a simple console program in VS2005 and it should run
Ton
Tcomputers that dosn't have .NET (not 1.1 and not 2.0).
TI think it depends on the headerfiles? I have exculded the default
Tstuff (stdafx.h, stdafx.cpp). And I use the following headers:
T#include <shlwapi.h>
T#include <stdio.h>
T#include <stdarg.h>
T#include <vector>
T#include <windows.h>
T#include <tchar.h>
T#include <math.h>
T#include <string.h>
TThere are some "old" header files for this headers?
TGreetings Thomas

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com


--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Oct 19 '06 #4

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

Similar topics

1
7837
by: Kerry Brown | last post by:
Using Microsoft Visual C# 2005 Express With XP Pro Console.Clear(); used as per the the sample at http://msdn2.microsoft.com/library/209kyy3d(en-us,vs.80).aspx is throwing an exception : System.IO.IOException was unhandled Message="The handle is invalid.\r\n"
2
1633
by: _R | last post by:
I've got a few apps that were designed to be used via MSDOS window. They make use of the old-style VC++6 Console class for doing writes, cursor repositioning, scrolling, etc. (Unfortunate name clash with the new .NET console class, so it's tough to search for info). Has anyone written a C# or C++ wrapper for the old Console class or something that can be used under .net?
1
4807
by: noleander | last post by:
Hi. I've got a C++ program written in Visual C++ 2003. The program is trivial, created with the Program-creation wizard: used the .NET "Form" template. The program has a trivial single-pane form GUI. I've got some stdout print statements in the code ... but I cannot find where in the world the output text is appearing. For printing I tried both: printf ("Hello world\n"); and Console::Write ("Hello World\n");
1
2525
by: Peter Oliphant | last post by:
I have a C++ Console application being written using VS C++.NET 2005 Express. It never crashes and seems to be working just fine. However, when I close the application via the Console 'X' exit button in upper right corner of its dialog box I get the following exit code: "The program ' MyApplication.exe: Managed' has exited with code -1073741510 (0xc000013a)." If I close it via the 'X' in the application form it exits with exit code 0:
0
931
by: Jeff Jarrell | last post by:
I have a new project that is a console app. It is in debugging configuration. I changed the output directory to just "bin\" When I run the program from inside VS (F5) it creates the program and the vshost.exe in bin\debug. If I just do a BUILD it creates the program in the bin folder.
2
1408
by: Fiddelm3742 | last post by:
Well, I dont exactly know if there was a change in how Console Application projects are run/compiled from VS2003 to 2005 or what, but I have an application (mostly C) that used to run in about 2 minutes and now runs in hours. The output of the program seems the same, but the time it takes it run is ridiculous. Yes, I get the general warnings when I compile to use the now more secure functions fopen_s instead of fopen, etc. but no errors...
8
1519
by: Dave | last post by:
I want to create a program that can only be run by a user with administrator privileges (ie in the BUILTIN/Administrators group - I think. Correct me if I'm wrong, I'm a bit hazy on users and groups). I'm not sure where to start. Can someone point me in the right direction. I'm using VS2005 (just upgraded from 2003) -- Dave
1
2044
by: John Wright | last post by:
I am running a console application that connects to an Access database (8 million rows) and converts it to a text file and then cleans and compacts the database. When it runs I get the following error: The CLR has been unable to transition from COM context 0x1a2008 to COM context 0x1a2178 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long...
6
28436
by: joey.powell | last post by:
I have a windows form app in C# in VS2005. In the "program.cs" file, I take some command line arguments and use "Console.WriteLine("fsdfsd") to give feedback to users. When I step through the program, the code block is executing, but no text is written to the command line. What might be causing this?
4
10517
by: Peter Nimmo | last post by:
Hi, I am writting a windows application that I want to be able to act as if it where a Console application in certain circumstances, such as error logging. Whilst I have nearly got it, it doesn't seem to write to the screen in the way I would expect. The output is:
0
9655
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
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9964
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...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
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
6749
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
5535
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4069
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

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.