Re: exporting multiple modules from one dll?

2006-01-26 Thread Andras Balogh
This worked, thanks! Farshid Lashkari wrote: > I believe you can export different modules from one dll, but you *MUST* > at least export a module that has the same name as the dll. -- http://mail.python.org/mailman/listinfo/python-list

loading modules in debug

2006-01-26 Thread Andras Balogh
The project I'm working on is written mainly C/C++, spiced with some Python scripts. Now, I have several dlls, which work both as a Python extension modules, exporting functions to Python via "initmodule", and as normal dynamic libraries, to which I link dynamically from within my C program. T

exporting multiple modules from one dll?

2006-01-26 Thread Andras Balogh
I have a dll that contains all kinds of services (input, audio, video, etc..), and I would like to export these to Python as separate modules. Now, if I call Py_InitModule with a name that's different than the dll name, I get an error. So what can I do? Thanks, Andras -- http://mail.python.o