Portable Apps

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to write code in visual c++ .net so that when I distribute my
application, the host computer does not require .net framework to run my
application?



Your help is very much appreciated.



Thanks.

Syed Ijaz
 
Ahsan said:
Is there a way to write code in visual c++ .net so that when I distribute
my
application, the host computer does not require .net framework to run my
application?

Yes. In Visual C++ the ATL, MFC and Win32 project types don't use the CLR
and don't require the .NET runtime.

Of course writing applications using these technologies is not as pleasant
an experience as as writing a .NET application.

David
 
Hay David,

Yeah but they need the MFC runtime!!! what if he's targetting Win95???
:P

Jan
 
Jan Bannister (jancsharp.blogspot.com) said:
Hay David,

Yeah but they need the MFC runtime!!! what if he's targetting Win95???
:P

MFC is a library, not a runtime. And just like the C standard library it
can be linked dynamically or statically. If it is liked dynamically it must
be deployed with your application, if linked statically, it becomes part of
your executable.

And it runs on Win95

Version 3.0 and later of the MFC framework supports 32-bit programming for
Win32 platforms, including Microsoft Windows 95 and later, and Windows NT
versions 3.51 and later.
http://msdn.microsoft.com/library/d...Classes_to_Write_Applications_for_Windows.asp


David
 
Back
Top