Mailing List Archive

Embedding question
Hi,

I have never embedded Python in a program directly (always have used ActiveX
Scripting) and I have a simple question:
can Python be put in a Windows NT program's DLL? The "main" program should
know nothing about the Python interpreter. it is a program that is almost
entirely made of "plug ins".

Thanks,
______________________________________________________
Gaetan Corneau
Software Developer (System integration Team)
BaaN Supply Chain Solutions
E-mail: Gaetan_Corneau@baan.com
Compuserve: Gaetan_Corneau@compuserve.com
ICQ Number: 7395494
Tel: (418) 266-8252
______________________________________________________
"Profanity is the one language all programmers know best"
Embedding question [ In reply to ]
Gaetan Corneau <Gaetan_Corneau@baan.com> wrote:

> can Python be put in a Windows NT program's DLL? The "main" program should
> know nothing about the Python interpreter. it is a program that is almost
> entirely made of "plug ins".

Yes. The plug-in's initialization function would have to initialize
Python and the plug-in's termination function would have to terminate
it (somewhat less important).

Dan Pierson, Control Technology Corporation
dan@control.com