[IronPython] Problem: AllowDrop = True --> DragDrop registration failed

John Lam jlam at iunknown.com
Fri Nov 18 16:51:18 CET 2005

This is the same problem that I have with my Ruby <-> CLR bridge. The way I "solve" this problem is through a wrapper for the ruby.exe interpreter - winruby.exe that will instruct my bridge to turn on COM the right way. In my case, the CLR isn't loaded until my bridge is loaded, so I can initialize the CLR via an unmanaged shim prior to hoisting the CLR into memory.


-----Original Message-----
From: users-bounces at lists.ironpython.com on behalf of J. Merrill
Sent: Fri 11/18/2005 9:46 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Problem: AllowDrop = True --> DragDrop registration	failed
A concession to reality could be that IP has to know (either figure out or be told) whether the app is intended to be a GUI (WinForms) app.  If it's GUI, then STAThread becomes the default.

I don't recall, off-hand, what the IP syntax is for specifying attributes -- particularly when (in C# or VB.Net) you use the STAThread attribute on the _class_ that represents your app, and IP's Main is not explicitly in a class.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20051118/5e591078/attachment.html>

More information about the Ironpython-users mailing list