Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.043 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'subject:not': 0.03; 'subject:version': 0.09; 'url:archive': 0.09; 'python': 0.11; '"from': 0.16; 'import': 0.22; 'dll': 0.24; 'question': 0.24; 'extension': 0.26; 'message-id:@mail.gmail.com': 0.30; 'end,': 0.31; 'says': 0.33; 'received:google.com': 0.35; 'shows': 0.36; 'thanks': 0.36; 'so,': 0.37; 'skip:& 10': 0.38; 'to:addr:python- list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'subject:? ': 0.60; 'such': 0.63; 'side': 0.67; 'url:2011': 0.75 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TE1xPqEfqBblhvI8YJWBtjJFdhG7C789VdVwWt7EuTE=; b=b6RkOqG9F6P9FjrHwdjEWTARIJQdbv7cNhNQujszsgYoK/KEEO7Q7RaclsSpMqijQF KFNb3tgUWoivxn0Z6lJqXpAFBEet4Mr/EN8OFCoJZDtFNO2DdpzNayxIauCKpDWXKK42 ek3Kbvm1MRLmDjgbglhI07Sf36vGwJcves7KR7Bvh8xU9gNSz0L5J05Yge7vmGp5ClXd lJ6LylXMKmcY6xt0YL5qMX3/jNPp9ZnP/+DKvp/cWurcip9alMczHyK8wZNTs47fu1LU AiK8PEat2+y4JkBpKVps9dIuFbh1fxmGX+icOIp4F7OA2mjuLzZHm1WvEc9WUKtR45KL MC6Q== MIME-Version: 1.0 X-Received: by 10.50.43.170 with SMTP id x10mr9832075igl.20.1395640611692; Sun, 23 Mar 2014 22:56:51 -0700 (PDT) Date: Mon, 24 Mar 2014 13:56:51 +0800 Subject: how? Py extension does not depend on py version From: oyster To: python-list@python.org Content-Type: multipart/alternative; boundary=089e01176cade4e64704f553e692 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 52 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395640614 news.xs4all.nl 2845 [2001:888:2000:d::a6]:46012 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68852 --089e01176cade4e64704f553e692 Content-Type: text/plain; charset=ISO-8859-1 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 --089e01176cade4e64704f553e692 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
=A0
or you can download the extension directly from http://files.cnblogs.com/DxSoft/PyFetion= .rar
=A0
I found that I can do "from<= span style=3D"COLOR:#000000"> DxVcl im= port *" 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" show= s that DxVcl does not has the python??.dll dependency. Is this a dark side = of python which is not in official python doc?
=A0
So, to the end, My question is: how can = I write such an extension(i.e. not DLL foe ctypes) in C/C++?
=A0
Thanks
=A0
Lee


--089e01176cade4e64704f553e692--