Re: error C3861: 'Py_InitModule'

2009-01-30 Thread duprez
Ok, I found the reason, you now need to do a bit more work and use PyModule_Create(). Also, for anyone else that may stumble on this, you need to refer to the online Dev doc's that get updated regularly (which I regrettably forgot about) which are here -> http://docs.python.org/dev/3.0/ thanks, M

error C3861: 'Py_InitModule'

2009-01-30 Thread duprez
Hi All, Using python 3.0, VS2005, WinXP SP3 I know this looks like a simple one but i just installed Python 3.0 (no other Python installations etc) and I'm trying to convert my perfectly working 2.5 C code for an embedded interpreter to 3.0. I've changed all of my string functions etc to remove th