Python论坛  - 讨论区

标题:[python-chinese] how do i use win DLL in python23win?

2004年01月10日 星期六 19:30

waytoeden waytoeden at sina.com
Sat Jan 10 19:30:47 HKT 2004

I want directly invoke a function in a windows DLL instead of writing a c extention for python,I have known win32api extention
with LoadLibrary and GetProcadress, but how do i invoke/run the function in python?
thanks,
please e-mail to :wayhu at astec-asia.com
______________________________________

ÄúµÄÅóÓÑwaytoeden£¬¸øÄú·¢À´ÁËÒ»Õźؿ¨£¡¹Û¿´>>( http://ecards.sina.com.cn/2000/2003-12-23/14394277464.swf )
¼ÄÒ»Õźؿ¨¸øwaytoeden( http://ecards.sina.com.cn )
ͨ¹ýÁËÁË°ÉÓëwaytoeden½»Ì¸( http://668.sina.com.cn )

===================================================================

½²Êö²ÊÉ«ÉÌÎñ¹ÊÊ£¬HPÃâ·ÑËÍÄãÈ¥Ñŵä (http://ad4.sina.com.cn/shc/zhuiyu_hprefresh.html)


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年01月12日 星期一 10:22

Jacob Fan jacob at exoweb.net
Mon Jan 12 10:22:47 HKT 2004

You may use ctypes http://starship.python.net/crew/theller/ctypes/

-----Original Message-----
From: waytoeden [mailto:waytoeden at sina.com] 
Sent: Saturday, January 10, 2004 7:31 PM
To: python-chinese at lists.python.cn
Subject: [python-chinese] how do i use win DLL in python23win?


I want directly invoke a function in a windows DLL instead of writing a c extention for python,I have known win32api extention with LoadLibrary and GetProcadress, but how do i invoke/run the function in python? thanks, please e-mail to :wayhu at astec-asia.com ______________________________________

ÄúµÄÅóÓÑwaytoeden£¬¸øÄú·¢À´ÁËÒ»Õźؿ¨£¡¹Û¿´>>( http://ecards.sina.com.cn/2000/2003-12-23/14394277464.swf ) ¼ÄÒ»Õźؿ¨¸øwaytoeden( http://ecards.sina.com.cn ) ͨ¹ýÁËÁË°ÉÓëwaytoeden½»Ì¸( http://668.sina.com.cn )

===================================================================

½²Êö²ÊÉ«ÉÌÎñ¹ÊÊ£¬HPÃâ·ÑËÍÄãÈ¥Ñŵä (http://ad4.sina.com.cn/shc/zhuiyu_hprefresh.html)
_______________________________________________
python-chinese mailing list
python-chinese at lists.python.cn http://lists.exoweb.net/cgi-bin/mailman/listinfo/python-chinese


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年01月12日 星期一 10:33

Jacob Fan jacob at exoweb.net
Mon Jan 12 10:33:44 HKT 2004

Bit Torrent http://bitconjurer.org/BitTorrent/ 
Mailman http://www.list.org/ 
Zope  www.zope.org
... ...

还可以看看这儿: http://www.python.org/Quotes.html

On Friday 09 January 2004 8:20 am, Sam Fang wrote:
> 据说redhat9.0的安装过程是用Python写的,
>
> 那里有有关Python应用方面的资料啊?

-- 
Dr. Ben Guofu Wu
Software Engineer
Icom Innovation
GnuPG Public Key: http://www.geocities.com/wubante/doc/publicKey.txt

_______________________________________________
python-chinese mailing list
python-chinese at lists.python.cn http://lists.exoweb.net/cgi-bin/mailman/listinfo/python-chinese


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年01月16日 星期五 14:19

Way Hu WayHu at astec-asia.com
Fri Jan 16 14:19:12 HKT 2004

   Thanks a lot.I got it.
   Where can l find a python version compiled with LCC-win32? i have tried 
using LCC-win32,
found python's some modules with warning problem,e.g "no return value". I 
review the corresponded sources, it does have this problem.others like 
"if((xxx = k))" problem, a couple 
parentheses should be removed and "=" should be replaced by "==".
   Could you please to help me understand this? Thanks again.
   Because of the Spring Festival vacation, please mail to 
"waytoeden at sina.com".

   Happy New Year to you!

Regards & thanks,
Way Hu
***************************************
* ASTEC-CDE/QAE                       *
* Tel:(86)(755)27802677 Ext:5166      *
***************************************



"Jacob Fan" <jacob at exoweb.net> 
01/12/04 10:22 AM

To
"waytoeden" <waytoeden at sina.com>, <python-chinese at lists.python.cn>
cc
<wayhu at astec-asia.com>
Subject
RE: [python-chinese] how do i use win DLL in python23win?






You may use ctypes http://starship.python.net/crew/theller/ctypes/

-----Original Message-----
From: waytoeden [mailto:waytoeden at sina.com] 
Sent: Saturday, January 10, 2004 7:31 PM
To: python-chinese at lists.python.cn
Subject: [python-chinese] how do i use win DLL in python23win?


I want directly invoke a function in a windows DLL instead of writing a c 
extention for python,I have known win32api extention with LoadLibrary and 
GetProcadress, but how do i invoke/run the function in python? thanks, 
please e-mail to :wayhu at astec-asia.com 
______________________________________

ÄúµÄÅóÓÑwaytoeden£¬¸øÄú·¢À´ÁËÒ»Õźؿ¨£¡¹Û¿´>>( 
http://ecards.sina.com.cn/2000/2003-12-23/14394277464.swf ) 
¼ÄÒ»Õźؿ¨¸øwaytoeden( http://ecards.sina.com.cn ) 
ͨ¹ýÁËÁË°ÉÓëwaytoeden½»Ì¸( http://668.sina.com.cn )

===================================================================

½²Êö²ÊÉ«ÉÌÎñ¹ÊÊ£¬HPÃâ·ÑËÍÄãÈ¥Ñŵä (
http://ad4.sina.com.cn/shc/zhuiyu_hprefresh.html)
_______________________________________________
python-chinese mailing list
python-chinese at lists.python.cn 
http://lists.exoweb.net/cgi-bin/mailman/listinfo/python-chinese

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20040116/53fcfaba/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号