Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I call Windows API functions using emacs lisp?

I want to call some Windows API functions to manipulate Windows Input Method Editor to make my Emacs an IME-aware application. How can I call Windows API functions using Emacs lisp? Thank you!

like image 795
Yanning Du Avatar asked Dec 29 '11 01:12

Yanning Du


1 Answers

I dont believe its possible to directly call native code from emacs; the best you'll be able to achieve is to proxy calls to the Windows API through another process, and communicate with it through IPC

Check this stackoverflow question: load a dynamic library from elisp

like image 149
fableal Avatar answered Sep 28 '22 20:09

fableal