C# When importing the User32.DLL this error message keeps arising: An unhandled exception of type 'System.EntryPointNotFoundException' occurred in pro

  • Thread starter Thread starter iExcelerate
  • Start date Start date
I

iExcelerate

Guest
After trying an assortment of supposed resolutions, still haven't come to any definitive answer to why the message keeps appearing.

System.Runtime.InteropServices is added to the accessing libraries

Also when referencing the dll library i've added this

[System.Runtime.InteropServices.DllImport("User32.dll", CharSet = CharSet.Auto)]

Problem arises when the program calls the class procedure:

(Inside class)

public static extern int AnimatedWindow(IntPtr Hwand, int DwTime, int DwFlag);

(Inside event)

Transition.AnimatedWindow(this.Handle, 2000, Transition.Blend);

Continue reading...
 
Back
Top