Please, someone tell me what's going wrong here. ;>
Jason Maskell
backov at nospam.csolve.net
Tue Jan 11 16:20:45 EST 2000
Siggy Brentrup <bsb at winnegan.de> wrote in message
news:87hfgkl388.fsf at baal.winnegan.de...
> Hi Jason,
>
> your code looks like Borland C++ on WinXX to me, you'd better tell us
which
> environment you're using :)
Yep, Borland C++ Builder 4.0 on Win98.
> "Jason Maskell" <backov at nospam.csolve.net> writes:
>
> > I posted a while back on embedding, and after scouring deja and reading
the
> > demos, I can't even get this simple example to work. It's essentially a
C++
> > Builder'ized version of the simple embedding demo.. PyRun_SimpleString
> > returns -1 and foo is never executed.
> >
>
> [...]
>
> extern "C" {
>
> > void initxyzzy(); /* Forward */
Uh, don't see why it would be necessary.. this function is executing fine,
it's just PyRun_SimpleString is failing. I'll try the extern C bit though.
Thanks,
Jason
More information about the Python-list
mailing list