|
From: Stefan B. <sb...@sb...> - 2005-11-04 16:48:01
|
Brian Elmegaard wrote: > Stefan Bellon <sb...@sb...> writes: > > using SWIG (http://www.swig.org/). SWIG's idea is, that the Python > > interpreter loads (via an import command) a Python file which > > itself loads a DLL. This DLL provides the commands of the main exe > > that can be called via the Python scripting. On the Ada side, those > > functions that can be called from the script, are exported with > > pragma Export to C. > This is indeed an interesting thread. To fully understand your > problems: Why is it that your main.exe cannot be a dll? Because main.exe uses GtkAda and it's currently not possible to make a DLL that uses GtkAda on Windows. -- Stefan Bellon |