Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68852

how? Py extension does not depend on py version

Date 2014-03-24 13:56 +0800
Subject how? Py extension does not depend on py version
From oyster <lepto.python@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.8439.1395640614.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I found an extension on this blog
http://www.cnblogs.com/DxSoft/archive/2011/04/08/2009132.html

or you can download the extension directly from
http://files.cnblogs.com/DxSoft/PyFetion.rar

I found that I can do "from DxVcl import *" in py 2.5/2.6/2.7. When I try
this in py24, a msgbox says "no python25.dll is found". However "Dependency
Walker" shows that DxVcl does not has the python??.dll dependency. Is this
a dark side of python which is not in official python doc?

So, to the end, My question is: how can I write such an extension(i.e. not
DLL foe ctypes) in C/C++?

Thanks

Lee

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

how? Py extension does not depend on py version oyster <lepto.python@gmail.com> - 2014-03-24 13:56 +0800

csiph-web