[Python.NET] problem with inheritance? ironpython ok, python.net - different

Christian Heimes lists at cheimes.de
Fri Oct 19 14:23:06 CEST 2007


david lawler wrote:
> To run this script you need to get Weifen Luo's Dock Panel Suite from Source
> forge - just get the pre-compiled dll at
> http://sourceforge.net/project/showfiles.php?group_id=110642 and stick it in the
> same directory as the script.

I'm unable to run DockSample.exe and your Python example:

With mono 1.2.5.2 from svn

Unhandled Exception: System.EntryPointNotFoundException: GetCurrentThreadId
  at (wrapper managed-to-native)
WeifenLuo.WinFormsUI.Docking.NativeMethods:GetCurrentThreadId ()
  at
WeifenLuo.WinFormsUI.Docking.DockPanel+FocusManagerImpl+LocalWindowsHook.Install
() [0x00000]
  at WeifenLuo.WinFormsUI.Docking.DockPanel+FocusManagerImpl..ctor
(WeifenLuo.WinFormsUI.Docking.DockPanel dockPanel) [0x00000]
  at (wrapper remoting-invoke-with-check) FocusManagerImpl:.ctor
(WeifenLuo.WinFormsUI.Docking.DockPanel)
  at WeifenLuo.WinFormsUI.Docking.DockPanel..ctor () [0x00000]
  at (wrapper remoting-invoke-with-check)
WeifenLuo.WinFormsUI.Docking.DockPanel:.ctor ()
  at DockSample.MainForm.InitializeComponent () [0x00000]
  at DockSample.MainForm..ctor () [0x00000]
  at (wrapper remoting-invoke-with-check) DockSample.MainForm:.ctor ()
  at DockSample.Program.Main () [0x00000]

With mono 1.2.4 (Ubuntu 7.04)

** (DockSample.exe:16336): WARNING **: Missing method
System.Windows.Forms.Form::set_RightToLeftLayout(bool) in assembly
/usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll,
referenced in assembly
/home/heimes/dev/mono/dockpanel/Release/DockSample.exe

Unhandled Exception: System.MissingMethodException: Method not found:
'System.Windows.Forms.Form.set_RightToLeftLayout'.
  at <0x00000> <unknown method>
  at (wrapper remoting-invoke-with-check) DockSample.MainForm:.ctor ()
  at DockSample.Program.Main () [0x00000]

Christian


More information about the PythonDotNet mailing list