[slime-devel] Slime hanging on foreign function calls with Lispworks

Shawn Nicholson shawn.nicholson at dnamerican.com
Wed Jun 29 17:02:09 UTC 2005


Well,
  My question can be disregarded.  I see in the known problems document
that this issue does not currently have a known reason or solution.  

  Thanks,
    Shawn


-----Original Message-----
From: Shawn Nicholson 
Sent: Wednesday, June 29, 2005 11:21 AM
To: slime-devel at common-lisp.net
Subject: [slime-devel] Slime hanging on foreign function calls with
Lispworks

Hello,
  I am a new user to slime and have run into something I can't seem to
figure out.  
  I am running Lispworks 4.4.5 Professional and Slime 2005-4-27
(LispWorks Port 1525 PID 220).  
  I am attempting to run some code which calls some foreign functions
however any attempt to do so causes Slime to hang. The windows click
does not happen at all. 

  Any ideas on what I'm missing (or what settings I have incorrect) that
would prevent me from making FLI calls?

  Thanks,
    Shawn


(in-package :cl-user)

(defparameter *segman-dll*
"C:\\Projects\\SegMan\\hemets\\src\\segman.dll")

(fli:register-module *segman-dll*)

(fli:define-foreign-function (c_single_click "c_single_click" :source)
    ((pause :int))
  :result-type :void)


(defun single-click (&optional (pause 0))
  (format t "Executing single click.~%")
  (c_single_click pause))


(defun test-click ()
  (single-click))

_______________________________________________
slime-devel site list
slime-devel at common-lisp.net
http://common-lisp.net/mailman/listinfo/slime-devel




More information about the slime-devel mailing list