MSDN library question

This is a discussion on MSDN library question within the C++ Programming forums, part of the General Programming Boards category; Is it legal to use one of the example codes given on the site in a program you are gonna ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    20

    Question MSDN library question

    Is it legal to use one of the example codes given on the site in a program you are gonna place on a large number of computers?

    also the program will not be used for profit.

  2. #2
    Registered User
    Join Date
    Nov 2004
    Location
    Slovenia, Europe
    Posts
    115
    I think there's nothing wrong with that...
    [C++]
    IDE: DevC++ 4.9.9.2 (GCC 3.4.2)
    2nd compiler: g++ (GCC 3.4.3/4.0.0)
    3rd compiler: Borland 5.5
    [C#]
    IDE: Microsoft Visual C# Express 2005
    2nd IDE: SharpDevelop
    2nd compiler: csc in Command Prompt
    .NET Framework: 2.0
    [PHP]
    Core: 5.1.0 beta 3
    IDE: PHPEdit
    2nd IDE: Notepad
    Favourite extensions: exif,gd2,mysql
    Favourite PEAR packages: DB, XML_RSS, ID3
    Favourite databases: SQLite, MySQL

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    20
    ok cool , I'm gonna keep checkin back here though.. if anyone wants to know where I got it to see if I can use it here's the link

    http://msdn.microsoft.com/library/de...ry_subkeys.asp

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    470
    Is it legal to use one of the example codes given on the site in a program you are gonna place on a large number of computers?
    Well ,you're probably infringing on some type of copyright infringement. Every source file I've looked at from msdn had a copyright on the top. But because Microsoft is sharing this code as library documentation, you're safe to use to generate ideas and to apply the library properly. Just look up the methods the sample uses and you should have a pretty good start to writing your own code and it's likely to be better than the sample code. Sometimes, however, you might write code using the library that you won't release. You're safe, then, I think to copy and paste.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. static data structure in a library
    By melight in forum C Programming
    Replies: 6
    Last Post: 01-10-2009, 11:12 AM
  2. Property Set Library (PSL) - Announcement
    By vultur_gryphus in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 05-29-2008, 07:04 AM
  3. Library Wrapper
    By cusavior in forum C Programming
    Replies: 3
    Last Post: 03-25-2008, 11:27 AM
  4. Replies: 19
    Last Post: 01-12-2006, 11:04 AM
  5. n00b question regarding the Map Class in the STL library
    By Axegrinder#9 in forum C++ Programming
    Replies: 2
    Last Post: 12-17-2005, 09:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21