<DIV style="FONT-SIZE: 12px; FONT-FAMILY: verdana, arial">
<DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>I've tried yesterday the command:</DIV>
<DIV> </DIV>
<DIV>"lib python23.dll"</DIV>
<DIV> </DIV>
<DIV>... but it does't work, I have the error: </DIV>
<DIV> </DIV>
<DIV>Python23.dll : fatal error LNK1136 : invalid or corrupt file.</DIV>
<DIV> </DIV>
<DIV>I found this programm</DIV>
<DIV> </DIV>
<DIV><A href="http://www.binary-soft.com/dll2lib/dll2lib.htm">http://www.binary-soft.com/dll2lib/dll2lib.htm</A></DIV>
<DIV> </DIV>
<DIV>and used it... and it created me the dll. But this programm is very expensive, and I don't know what it is really doing. Given that I am working on a open source application, I am not so happy to use such a programm. Such an expensive programm can not do something that we can do with a simple command line :=) ??</DIV>
<DIV> </DIV>
<DIV>I am using evc4. The other problem I have is that I would be happy to begin testing Blender on the emulator and the python23.dll is only for pocketpc.</DIV>
<DIV>Maybe it will be a better solution to built pythonCE again with EVC and then, I will have everything I need... maybe someone as a better idea? I only need python23.dll and python23.lib for pocketpc and for emulator (x86). Did someone already built PythonCE with EVC4 ?? Maybe someone has already the projects files :=) ?</DIV>
<DIV> </DIV>
<DIV>Thanks for your help,</DIV>
<DIV>Salvatore<BR></DIV>
<DIV>
<DIV>> On 27 Jun 2005 at 16:02, Salvatore Russo wrote:</DIV>
<DIV>> </DIV>
<DIV>> > </DIV>
<DIV>> > What I don't understand, is why pyconfig.h (one of the file in all header to use python with C++) want to import this python23.lib. Here is the code:</DIV>
<DIV>> </DIV>
<DIV>> > # pragma comment(lib,"python23.lib")</DIV>
<DIV>> </DIV>
<DIV>> This pragma automatically tells windows compiler which library you need </DIV>
<DIV>> to link to.</DIV>
<DIV>> </DIV>
<DIV>> You always need a library if you're linking to the DLL, otherwise the linker </DIV>
<DIV>> doesn't know which symbols are available, or their types (if using C++ </DIV>
<DIV>> mangling)</DIV>
<DIV>> </DIV>
<DIV>> > I am using EVC4... I can try what you proposed. BUT if I generate a python23.lib from my python23.dll... and then include them in my built, I will have the python informa> </DIV>
<DIV>> </DIV>
<DIV>> No, you won't have it twice. the .lib file is only used during the linking </DIV>
<DIV>> process. It doesn't add anything to your exe.</DIV>
<DIV>> </DIV>
<DIV>> Think of it as a symbol table, not a static link.</DIV>
<DIV>> </DIV>
<DIV>> -- </DIV>
<DIV>> Brad Clements, bkc@murkworks.com (315)268-1000</DIV>
<DIV>> http://www.murkworks.com </DIV>
<DIV>> AOL-IM or SKYPE: BKClements</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> PythonCE mailing list</DIV>
<DIV>> PythonCE@python.org</DIV>
<DIV>> http://mail.python.org/mailman/listinfo/pythonce</DIV></DIV></DIV><DIV style='{font-family:verdana, arial;font-size: 10px}'>
<DIV><br></DIV>
<DIV><br></DIV>
<DIV><EM>Accédez au courrier électronique de La Poste : www.laposte.net ;</EM></DIV>
<DIV><EM>3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)</EM></DIV>
</DIV>