COM Server & wxPython

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nelson

    COM Server & wxPython

    Hi all,
    i'm doing a COM server that have to expose some graphics (panels and
    configuration controls), that would be embedded in an application through
    OLE. I was wondering if I can do this using wxPython. Another question is
    if my COM server would inherits from one of the wxPython class. If it's
    true, from which? wx.App, wx.Frame, wx.Panel.

    The important thing is that i would to have the same effect that you have
    when you the calendar OLE control on a Delphi or VB form (you see the
    graphics ;) )

    thanks,
    nelson

  • Dave Mandelin

    #2
    Re: COM Server & wxPython

    nelson wrote:[color=blue]
    > Hi all,
    > i'm doing a COM server that have to expose some graphics (panels and
    > configuration controls), that would be embedded in an application through
    > OLE. I was wondering if I can do this using wxPython. Another question is
    > if my COM server would inherits from one of the wxPython class. If it's
    > true, from which? wx.App, wx.Frame, wx.Panel.
    >
    > The important thing is that i would to have the same effect that you have
    > when you the calendar OLE control on a Delphi or VB form (you see the
    > graphics ;) )
    >
    > thanks,
    > nelson[/color]

    I found a mailing list message in which one person got errors trying to
    make a wx.Frame into a COM server, and someone else claimed to have
    made a wx app into a COM server (and unfortunately that project seems
    to have disappeared):



    If inheriting from a wxPython class doesn't work, maybe you can create
    a COM server wrapper for the wxPython class.

    --
    Want to play tabletop RPGs online?
    Check out RPZen: http://koboldsoft.com

    Comment

    • Philippe Martin

      #3
      Re: COM Server & wxPython

      Hi,

      I do not know what your constraints are ... but, having been through the
      same thought process (because there is not VB6 _free_ calendar) ... I feel
      that getting to that stage _might_ justify rewriting the application in
      Python/wxPython (and potentially gain cross-platform compatibility in the
      process).

      Philippe




      nelson wrote:
      [color=blue]
      > Hi all,
      > i'm doing a COM server that have to expose some graphics (panels and
      > configuration controls), that would be embedded in an application through
      > OLE. I was wondering if I can do this using wxPython. Another question is
      > if my COM server would inherits from one of the wxPython class. If it's
      > true, from which? wx.App, wx.Frame, wx.Panel.
      >
      > The important thing is that i would to have the same effect that you have
      > when you the calendar OLE control on a Delphi or VB form (you see the
      > graphics ;) )
      >
      > thanks,
      > nelson[/color]

      Comment

      Working...