[racket] MzCOM
Ok I try your suggestion: In drRacket I make this:
(require ffi/com)
(define MZCOM (com-create-instance "MzCOM.MzObj"))
(com-invoke MZCOM "eval"
(format "~s"
'(with-output-to-string
(lambda ()
(print "hello")))))
This gives me an output like exactly this:"\"\\\"hello\\\"\""
When I create an Com-Object in C++ and eval the expression:
(format "~s" '(with-output-to-string (lambda () (print "hello"))))
I get this: "(with-output-to-string (lambda () (print \"hello\")))"
This is the same output when I eval the expression with my in Drracket created Com-Object:(eval (format "~s" '(with-output-to-string (lambda () (print "hello")))))
So in my opinion the eval method from the Com-Objects created in Drracket and the Com-Object created in c++ have different outputs? Or is it not different ?
Yours,