How to call a python function in visual c++

P

Pande

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
 
R

Robin Munn

Pande said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,172
Messages
2,570,933
Members
47,473
Latest member
ChristelPe

Latest Threads

Top