<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi,<DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV><DIV>On 22/10/2007, at 12:46 PM, Stefan Rusek wrote:</DIV><BLOCKQUOTE type="cite"><SPAN id="_user_HSBC@email.hsbcusa.com" style="color: rgb(0, 104, 28);">Has anyone experimented with embedding PythonCE in C code and run it one WM?</SPAN><BR></BLOCKQUOTE></DIV><BR></DIV><DIV>I haven't tried but don't imagine you would find too many difficulties doing this. The main python25.exe within the PythonCE releases is doing exactly that.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Python25.exe is a thin GUI wrapper over top of the core python interpreter which lives within python25.dll. Python25.exe is using the standard Python embedding APIs to host the interpreter.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>See the online python docs (in particular the "Embedding Python in Another Application" section - <A href="http://www.python.org/doc/ext/embedding.html">http://www.python.org/doc/ext/embedding.html</A>) for further details on how to do this.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I would be interested to hear any feedback related to this functionality within PythonCE. In theory all you need to download from the PythonCE website is the "developer" zip file which includes the header and lib files required to build your application.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Hope this helps,</DIV><DIV>Christopher Fairbairn</DIV></BODY></HTML>