Linking DLL for lisp

Laurie Comerford

Usenet Archive
Joined
Jun 25, 2003
Messages
433
Reaction score
0
Hi,

I have a DLL containing a number of string handling functions which I wish to call from lisp.

How do I go about linking the DLL to my lisp program ?

How do I call it ?

In VBA, I simply attach it using the [Tools][References]

Then I have lines such as:

Dim Mydll As MydllProgram

Set Mydll = New MydllProgram
ReturnString = Mydll (PassedString)
 
Something like this

(setq acd (vlax-get-acad-object))
(setq srv (vlax-invoke acd "getinterfaceobject" "your dll.class")) (setq ret (vlax-invoke srv "your dll function"))
 
check out acadx.com for nice explanation

"Laurie Comerford"
|>Hi,
|>
|>I have a DLL containing a number of string handling functions which I wish |>to call from lisp. |> |>How do I go about linking the DLL to my lisp program ? |> |>How do I call it ? |> |>In VBA, I simply attach it using the [Tools][References] |> |>Then I have lines such as:
|>
|>Dim Mydll As MydllProgram
|>
|> Set Mydll = New MydllProgram
|> ReturnString = Mydll (PassedString)

James Maeding
Civil Engineer/Programmer
 
Back
Top