windows - 如何使用 emacs lisp 调用 Windows API 函数?

标签 windows api emacs lisp

我想调用一些 Windows API 函数来操作 Windows 输入法编辑器,使我的 Emacs 成为一个 IME 感知应用程序。如何使用 Emacs lisp 调用 Windows API 函数? 谢谢!

最佳答案

我不相信直接从 emacs 调用 native 代码是可能的;您将能够实现的最好结果是通过另一个进程代理对 Windows API 的调用,并通过 IPC 与其通信

检查这个 stackoverflow 问题: load a dynamic library from elisp

关于windows - 如何使用 emacs lisp 调用 Windows API 函数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8663225/

相关文章:

c++ - 错误 : "Application has failed to start because its side-by-side configuration is incorrect"

javascript - 将 JSON 从 Contentful 获取到 Mustache

emacs - CEDET 入门

emacs - 如何使 Emacs 中的编译窗口始终为特定大小?

macos - tuareg 模式 emacs ocaml 未找到

c# - Windows 8 Phone 周期性任务未运行

c++ - 获取所有 Windows 内核对象及其安全权限

json - 在 Swift 中获取 API 数据

javascript - 操作无法使用 REST 进行,但可以以其他方式进行

windows - 为什么 Powershell 中的 Get-WMIObject Win32_Process 如此慢,有哪些替代方案?