c# - Mono on Linux System.DllNotFoundException: Kernel32 -
i create small application (show code). want run mono on linux (ubuntu 16.04). how can importing right stuff "kernel32" lib? code:
           public class program         {             static bool exitsystem = false;              #region trap application termination             [dllimport("kernel32")]             private static extern bool setconsolectrlhandler(eventhandler handler, bool add);              private delegate bool eventhandler(ctrltype sig);             static eventhandler _handler; } where error or library missing? have tried on windows works mono. on linux show "kernel 32" error. possible @ wait consolencloseevent? hope can me ...
 
 
  
Comments
Post a Comment