Hi,

I'm unsure of how to get clojure-clr to reference assemblies that a
program needs.

I can successfully get this to show a message box via the REPL:

(System.Windows.Forms.MessageBox/Show "hello world")


I can successfully save this to a file, add the file as a command-line
arg inside VisualStudio and run the Clojure.Main project which takes
the cmd line arg, correctly loads and executes the code

However if I save that to a file and then try the following (from the
command line, outside of VS, I get an exception:

pathTo\Clojure\Clojure.Main\bin\debug\Clojure.Main.Exe c:\clj
\helloworld.clj

I have also changed the contents of the file to the following, still
with no success:

1)
(import '(System.Windows.Forms MessageBox ))
(MessageBox/Show "hello world")

2)
(import '(System.Windows.Forms MessageBox ))
(System.Windows.Forms.MessageBox/Show "hello world")


Any hints?

Thanks, Adam.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to