Python embeding error!!

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

    #1

    Python embeding error!!


    I want run Python GUI program on MFC.

    So I coded this

    def start():
    global Tkinter
    from Tkinter import *
    root = Tk()
    w = Label(root, text="Hello, world!")
    w.pack()

    but It returns error at

    rc = PyObject_CallOb ject(func, NULL);

    What is problem?

Working...