Yep, our Ruby C extension bridge to .NET didn’t set the ApartmentState to enable
drag n’ drop operations. This has been fixed and will be in the next release
(R5). Thanks so much Thomas for the correct fix!
Regards,
John
···
On Sun, 28 Sep 2003 19:31:42 +0900, “Thomas Sondergaard” wrote:
Apparently there is a need to set the COM ApartmentState to STA
Adding this in the first line of the ruby Init_dotnet function makes it go
away:System::Threading:
:CurrentThread->ApartmentState =
System::Threading::ApartmentState::STA;