Thread: Error in distributing .exe online

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    That binary seems compiled against the debug runtime which AFAIK is illegal to restiribute. Compile against release runtime first.

  2. #2
    Registered User
    Join Date
    Nov 2007
    Posts
    5
    Thanks for the quick responses, but how do I make a release version in VC++.

    Also, does Microsoft hold some patents on my software for compiling it with them? Will they steal my code?

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Quote Originally Posted by GamesSmash View Post
    Also, does Microsoft hold some patents on my software for compiling it with them? Will they steal my code?
    1) You can't hold patents on code. You can only hold copyright. You hold copyright by writing the code, or by paying someone to write the code for you.

    2) How did you ever get this absurd idea?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by CornedBee View Post
    1) You can't hold patents on code. You can only hold copyright. You hold copyright by writing the code, or by paying someone to write the code for you.
    Whilst I agree on the copyright, I also, unfortunately, have to disagree about the statement of "you can't hold patents on code" - there is certainly patents on code in many places. It is pretty specific code, admittedly.

    Case in point: Register allocation in compiler:
    http://www.freepatentsonline.com/20070022413.html

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by GamesSmash View Post
    Also, does Microsoft hold some patents on my software for compiling it with them? Will they steal my code?
    Lol, what an absurd idea.
    Anyway, create a setup project and distribute your app with it. In case you don't want a setup project, do one anyway and copy the vcredist*.exe in your setup folder. It's the one file that will install the runtime on the computer of whomever you want to run it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 13
    Last Post: 12-09-2008, 11:09 AM
  2. 2D Spaceship shooter online - Need 2 keen programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 05-19-2005, 07:40 AM