none
System.EntryPointNotFoundException: PeekMessage RRS feed

  • Question

  • I have a custom controls that works perfectly in every devices except Raspberry Pi 2 with Mono device.

    If we compile on Raspberry Pi 2 with Mono device we get the following exception

    //Exception

    System.EntryPointNotFoundException: PeekMessage<u1:p></u1:p>

    The exception arises from the below PeekMessage function

    // PeekMessage

      [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.Winapi)]

      internal static extern bool PeekMessage([In] ref MSG msg, IntPtr hwnd, int msgMin, int msgMax, int remove);

    Could this custom control can support in Raspberry Pi 2 with Mono Machine?  

    • Moved by Youjun Tang Friday, April 3, 2015 2:05 AM more related to the suggested forum
    Wednesday, April 1, 2015 10:53 AM

Answers

  • what version of windows is this on? peekmessage is not an exported API in win10 for the raspberry pi

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, April 3, 2015 3:30 AM

All replies

  • Hi Kumaran619,

    >> Could this custom control can support in Raspberry Pi 2 with Mono Machine? 

    Based on your description, it seems your issue is more related with Raspberry Pi 2, and I will move this thread to the hardware and driver forum for helpful.

    Reference: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?forum=wdk

    Thanks for your understanding.

    Best Regards,

    Edward


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, April 3, 2015 2:04 AM
  • what version of windows is this on? peekmessage is not an exported API in win10 for the raspberry pi

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, April 3, 2015 3:30 AM