CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2009
    Posts
    5

    C++ Application without using .Net

    I have a situation where I want to code a C++ console based application using Visual Studio 2005 or higher but cannot use .NET framework. I mean at the client side the application should run even if .Net framework is not installed. Is there any option in Visual studio to create a project without .Net frame work
    Is it possible? or should I revert back to Visual Studio 6 to achieve this. Please help me

  2. #2
    Join Date
    Mar 2008
    Location
    Turin / Italy
    Posts
    178

    Re: C++ Application without using .Net

    there's no .net support in c++ (no .net framework to be installed) except of managed C++.
    Visual C++ does not interact with any of the libraries of the Net framework.

  3. #3
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: C++ Application without using .Net

    Of course. Create a Win32 console application project, not a CLR project. All you need to provide is the VC++ redistributable DLLs to be installed on the target machine.

    Here are the links to the redistributable packages. Chose the one matching your development environment (with or without service pack).

    VC++ 2005 for x86
    http://www.microsoft.com/downloads/d...displaylang=en

    VC++ 2005 SP1 for x86
    http://www.microsoft.com/downloads/d...displaylang=en
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured