title: Having an issue importing DLL into unity
body: <p>I'm trying to get the user32.dll into my unity FREE version. (Not pro)</p>
  
  <p>I simply dropped user32.dll into my Assets/Plugins/ folder and the error it gives me is:</p>
  
  <p>DLLNotFoundException: Assets/Plugins/user32.dll</p>
  
  <p>Here is the code I am using:</p>
  
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  using System.Runtime.InteropServices;
  using System;
  using System.Diagnostics;
  
  public class DatabaseManager : MonoBehaviour
  {
  
  
  
      //DLL imports
      [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
      static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
  
      [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
      [return: MarshalAs(UnmanagedType.Bool)]
      static extern bool SetForegroundWindow(IntPtr hWnd);
  
      static Process proc = Process.GetProcessesByName("firefox")[0];
      IntPtr ptrFF = proc.Handle;
      //------------------------------------------------------------------------
  
  
      void Awake()
      {              
          SetForegroundWindow(ptrFF);
      }
  
     //Other code functions like Update etc.
  }
  </code></pre>
  
  <p>I heard somewhere that unmanaged dlls (c++) can only be used in Unity Pro, but I really need this DLL, am I doing something not accurate??? I am not sure if user32.dll actually falls under an unmanaged c++ dll.</p>
  
  <p>Please help.</p>