Im trying to call python functions from C code, and i followed a sample from here
http://docs.python.org/release/2.3.2/ext/pure-embedding.html
I also have the correct include file directries, library directries, and linked the python32.lib (im using python 32) however the error was that python/C APIs such as PyString_FromString, PyInt_FromLong, PyInt_AsLong are undefined (error in the debugger)

this is strange because im also using other APIs, but they're all fine...

whats the problem here??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.