embedding Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ivo

    embedding Python

    Hi.

    I want to embed Python 2.3 as a scripting language in my Win32 application. I have few questions:

    1) Is it possible to link Python as a static lib?
    2) Can I link statically all the modules I want and disable the loading of any additional DLLs?

    Thanks
    Ivo

  • Martin v. Löwis

    #2
    Re: embedding Python

    "Ivo" <ivomirb@hotmai l.com> writes:
    [color=blue]
    > 1) Is it possible to link Python as a static lib?[/color]

    Yes, but you have to tweak the project files in case you are using VC6.
    [color=blue]
    > 2) Can I link statically all the modules I want and disable the
    > loading of any additional DLLs?[/color]

    Yes; in addition to tweaking the project files, you also need to edit
    PC/config.c

    Regards,
    Martin

    Comment

    Working...