
Robert Dailey wrote:
On Feb 8, 2008 9:06 AM, David Abrahams
mailto:dave@boost-consulting.com> wrote: You can always link your DLL extension module directly to your application as well as letting Python load it.
Explain please. Also, I don't want to use a DLL, as I already mentioned. I want there to be my python scripts and my game executable, that's it. I don't want a DLL and a game executable. I want this to remain simple. As I originally asked, is there a way to do this? Do I load my exe as a pyd module or what?
You can try the example "embedding" in Boost.Python: http://svn.boost.org/svn/boost/trunk/libs/python/example/quickstart/embeddin... if you compile (and link to) boost as a static library, you will get only an EXE and a python script, no extra DLL.