469,275 Members | 1,871 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

How to call a python function in visual c++

Hello everyone!
I have defined a function in python, now I must call this function in visual
c++.
I have tried with PyObject_CallFunction. but my program is crashed.

can someone tell where the problem is?

thank you for any hint.

pan
Jul 18 '05 #1
2 1996
Pande wrote:
Hello everyone!
I have defined a function in python, now I must call this function in visual
c++.
I have tried with PyObject_CallFunction. but my program is crashed.

can someone tell where the problem is?


It may have something to do with this:
http://www.catb.org/~esr/faqs/smart-questions.html
Jul 18 '05 #2
Pande <pa*@informatik.uni-luebeck.de> wrote:
Hello everyone!
I have defined a function in python, now I must call this function in visual
c++.
I have tried with PyObject_CallFunction. but my program is crashed.

can someone tell where the problem is?


With the information you've given in your question? No.

With more information? Possibly.

Go read that "smart questions" URL, you'll find it very useful.

--
Robin Munn
rm***@pobox.com
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.