c# - use user32.dll in win ce5.0 -


I am trying to use the sendmessage of user32.dll in the embedded windows ce5.0 computer I am embedded user The app and the DLL are working in the same folder on my Windows XP computer to test 32.

When I get the win in CE 05.0 then the message is: Pinwalkie DLL 'user32.dll' can not be found

Code: (I search it in the web and try sending it Is used to)

  Private Ent SC_MONITORPOWER = 0xF170; Private int WM_SYSCOMMAND = 0x0112; [DllImport ("user32.dll")] Personal static extern int SendMessage (int hWnd, int hMsg, int wParam, int lParam); Private Zero Button 3_Click (Object Sender, Event AGS E) {SendMessage (this.Handle.ToInt32 (), WM_SYSCOMMAND, SC_MONITORPOWER, 2); }  

Can anyone help me with it?

Send message defined in coredll.dll in windows ce. Check out this link:


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -