How to create a .exe file to run it on any window
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: How to create a .exe file to run it on any window

  1. #1
    Join Date
    May 2014
    Posts
    3

    How to create a .exe file to run it on any window

    Hi,

    I have created a MFC application on Visual c++ 2012. My computer work in Win 7 - 64bits. When I see many tutorial about making the executable file which is independent on .dll library (by changing Configuration Properties ->C/C++->Code Generation->Runtime Library ->Multi Threaded Deburg (MT/d)) the compiler becomes error then I can not get the result as tutorial on internet.

    Is there any other way to make the .exe file for this?

    Thanks

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,381

    Re: How to create a .exe file to run it on any window

    What error does "the compiler become"?
    Victor Nijegorodov

  3. #3
    Join Date
    May 2014
    Posts
    3

    Re: How to create a .exe file to run it on any window

    The error message like this:

    "Error 1 error D8016: '/clrure' and '/MTd' command-line options are incompatible

    I forgot that my application is Window Form Application, not MFC.

  4. #4
    Join Date
    Jan 2012
    Location
    India
    Posts
    138

    Re: How to create a .exe file to run it on any window

    U publish your application ... no .exe concept ..

  5. #5
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    2,585

    Re: How to create a .exe file to run it on any window

    A Windows Forms app will always require the respective version of the .NET framework that s targetted by your VC version. There's nothing you can do about that.

    But aside of the framework, there's no other dependency, unless you add additional libraries to your project yourself.
    I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.

    This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center