<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have been programming in AutoLISP inside AutoCAD for a while now and also 
have done a bit of programming with Racket, including dialog boxes.</DIV>
<DIV>Recently I tried to use COM from inside Racket to run AutoCAD and got that 
to work.</DIV>
<DIV>However, now I am attempting to use Racket as a COM object (using MzCOM) 
from inside AutoCAD / AutoLISP to run Racket and I can’t seem to get passed the 
first hurdle – getting the MzCOM object.</DIV>
<DIV>(I can get COM application objects for Excel and Word working)</DIV>
<DIV>The aim was to call Racket to develop dialog boxes using components not 
readily available using AutoLISP’s inbuilt dialog control language (DCL).</DIV>
<DIV> </DIV>
<DIV>Code inside AutoLISP:</DIV>
<DIV> </DIV>
<DIV>(vl-load-com) ; initialises the visual-lisp COM extensions</DIV>
<DIV>(setq racketapp (vlax-get-or-create-object "MzCOM.MzObj.6.0.1")) ; should 
return the MzCOM object ?</DIV>
<DIV>(vlax-invoke-method racketapp 'Eval "(+ 1.2 3.4)")  ; doesn’t work so 
far as racketapp is nil</DIV>
<DIV> </DIV>
<DIV>I’ve tried the latest version of Racket.</DIV>
<DIV>Also tried to re-register MzCOM as per the docs.</DIV>
<DIV> </DIV>
<DIV>Just wondering if anyone else has tried to do it and found it to work or 
not.</DIV>
<DIV> </DIV>
<DIV>Any suggestions are greatly appreciated...</DIV>
<DIV> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Tim.</DIV></DIV></DIV></BODY></HTML>