Console Program in VS2005 for non-dotNet Platform

  • Thread starter Thread starter Thomas
  • Start date Start date
T

Thomas

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
 
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

T> Hi,

T> I have written a simple console program in VS2005 and it should run
T> on
T> computers that dosn't have .NET (not 1.1 and not 2.0).
T> I think it depends on the headerfiles? I have exculded the default
T> stuff (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>
T> There are some "old" header files for this headers?

T> Greetings Thomas


--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
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
 
Great, Thanks, I haven't seen this option :-)
But It still doesn't run on .NET 1.1. Very weird. :-/

Vadym said:
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"

T> I need an application that does not use the .NET framework, but i'm
T> dependend on the VS2005. I have heared about to use the rigth header
T> files and the application is not more dependend at .NET, because it
T> should run on Win XP without .NET 1.1 and without .NET 2.0.
T> Thomas

T> Vadym Stetsyak said:
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
T> Hi,
T> I have written a simple console program in VS2005 and it should run
T> on
T> computers that dosn't have .NET (not 1.1 and not 2.0).
T> I think it depends on the headerfiles? I have exculded the default
T> stuff (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>
T> There are some "old" header files for this headers?
T> Greetings Thomas
 
Back
Top