Visual Lisp: how to call functions in external C++ DLL

前端 未结 2 1797
滥情空心
滥情空心 2021-01-05 04:01

I have a C++ dll I have written (native, not .net), and I would like to use its functionality from Visual Lisp. Can anyone point me to an example of how to do this, or at l

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-05 04:42

    You expose your native C++ code to AutoLisp using the acedDefun() and acedRegFunc() API calls.

    Here is a discussion on Autodesk's programming forum asking exactly your question.

提交回复
热议问题