Embedded Python implementation
mark.charsley at REMOVE_THIS.radioscape.com
Wed Sep 11 13:04:00 CEST 2002
In article <MAfe9.266658$v53.14092531 at news3.calgary.shaw.ca>,
tagith1394 at hotmail.com (Evan) wrote:
> I am currently trying to embed Python in an application I am writing,
> and all is going well, except for one inexplicable bug..
> When I pass a variable (pointer to a string) to PyRun_String, it will
> always error on line 2, character 5.. regardless of what is actually on
> the line in that spot (for that matter, even if there is no line 2)..
When I had a problem like that it was because an error had occurred in a
previous call into the python DLL, and hadn't been cleared. As a result my
call to python also failed, but the error message I retrieved was to do
with the prvious call.
Mark - personal opinion only, could well be wrong, not representing
company, don't sue us etc. etc.
More information about the Python-list