I wrote a program to test calling c function from python code embedding in c
as following, it cause error after running a while(about 398 circle). I
test it in msvc6, python2.3, windows 2k, could anyone tell me why this
happened since i just work according to the document? Thanks first.
Donnie
Got it, thanks :)
--
http://mail.python.org/mailman/listinfo/python-list
Du you use program in linux? I work in windows, but I think it's a way to
tell your program the module path like this:
char path[MAX_PATH], cpy_cmd[MAX_PATH]; GetCurrentDirectory(
MAX_PATH, path ); sprintf( cpy_cmd,
"sys.path.append(r\'%s\\modules\')", path );
PyRun_SimpleStri
Du you use program in linux? I work in windows, but I think it's a way
to tell your program the module path like this:
char path[MAX_PATH], cpy_cmd[MAX_PATH];
GetCurrentDirectory( MAX_PATH, path );
sprintf( cpy_cmd, "sys.path.append(r\'%s\\modules\')", path );
PyRun_SimpleString("import sys");
I use msvc 6.0 too, but my boost.python version is 1.32.0 , and i
didn't get error to compile the hello.pyd with the msvc6 IDE, the
hello demo from boost.python is compile with jam.
would you try to use boost.python 1.32.0 if no compatible problem
--
http://mail.python.org/mailman/listinfo/pyt
les, then I can call "import modulenmame" in each sub-interpeter.
Donnie Leen
--
http://mail.python.org/mailman/listinfo/python-list
I make program in c++ embedding python2.4 in windows, I need the
python24_d.lib to link with the debug version of my program, but i can't
find the source code to build python24_d.lib on the internet, I even can't
find python24_d.lib/python24_d.dll on the internet.
Does the python24 source code rele
I had tried already, the doesn't contain the sourcecode.
In python2.3.3, the release pakage contained sourcecode is Python-2.3.3.tar.
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Donnie Leen <[EMAIL PROTECTED]> wrote:
>
&
uld somebody tell me why this happened or how to deal with it, thanks for any
suggestion.
Donnie Leen
--
http://mail.python.org/mailman/listinfo/python-list