[PR]
×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
プログラミング、3DCGとその他いろいろについて
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
(import (rnrs) (ironscheme clr)) (clr-reference PresentationFramework) (clr-reference PresentationCore) (clr-reference System.Xaml) (clr-reference WindowsBase) (clr-using System.Windows) ;[System.STAThread] might be needed. (define app (clr-new Application)) (clr-call Application Run app (clr-new Window))
Unhandled CLR exception during evaluation: CLR Exception: System.InvalidOperationException System.InvalidOperationException: The calling thread must be STA, because many U I components require this. at System.Windows.Input.InputManager..ctor() at System.Windows.Input.InputManager.GetCurrentInputManagerImpl() at System.Windows.Input.KeyboardNavigation..ctor() at System.Windows.FrameworkElement.EnsureFrameworkServices() at System.Windows.FrameworkElement..ctor() at System.Windows.Controls.Control..ctor() at System.Windows.Window..ctor() at eval-core(003).$2() at #.psyntax.expander::compile-r6rs-top-level#anon#1#2$2505(CodeContext $cont ext) at #.ironscheme.exceptions::dynamic-wind(Object in, Object proc, Object out) at #.psyntax.main::load-port#1$2552(CodeContext $context) at #.ironscheme.exceptions::dynamic-wind(Object in, Object proc, Object out) at IronScheme.Runtime.Builtins.CallWithCurrentContinuation(Object fc1) at IronScheme.Runtime.R6RS.Exceptions.WithClrExceptionHandler(Object handler, Object thunk)