[IronPython] help with activex error
kpadmasola at gmail.com
Thu Sep 20 12:14:00 CEST 2007
I'm trying to add the remote desktop activex control to a windows form and
am getting the following error. How can I fix this?
thanks for your help,
IronPython 1.1 (1.1) on .NET 2.0.50727.312
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import winforms
>>> import System
>>> import System.Windows.Forms as wf
>>> f = wf.Form()
>>> import clr
>>> import AxMSTSCLib as mstsc
>>> rdp = mstsc.AxMsRdpClient2()
Traceback (most recent call last):
SystemError: ActiveX control '9059f30f-4eb1-4bd2-9fdc-36f43a218f4a' cannot
be instantiated because the current thread is not in a single-threaded
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users