Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Legality of Using Windows Platform Dll in Project?

Discussion in 'Windows' started by JudahMantell, Dec 27, 2020.

  1. JudahMantell

    JudahMantell

    Joined:
    Feb 28, 2017
    Posts:
    476
    Hey! So In my project, I'm using some Windows Forms code to create native popup dialogs, but in order to do this, I need to include a few Dlls I copied from various places on my C:// drive. I just copied these into my Plugins folder, and everything works fine when I add
    Code (CSharp):
    1. using System.Windows.Forms;
    at the top of my scripts.

    I was wondering if there are any legal issues when using Microsoft Code in a commercial project? I couldn't find the license for these anywhere.
    Thanks so much!
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,644
    Let's just say I would not recommend copying DLLs from Windows into your game, unless it's from Windows SDK and explicitly permitted by its EULA (like the redist DLLs).

    Try looking for that DLL inside Unity's installation dir instead.