<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Hi,
</SPAN><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">To develop a
interface to a COM library under Boa Constructor and WxPython, Python 2.5, I had
to use the makepy utility to generate the classes
file.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> I<SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> show you a part of
this file:</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">from win32com.client
import CoClassBaseClass<BR># This CoClass is known by the name
'PcommServer.PmacDevice.1'<BR>class PmacDevice(CoClassBaseClass): # A
CoClass<BR> # PmacDevice Class<BR> CLSID =
IID('{B544D2BD-354C-456E-9E88-20F71625E7DF}')<BR> coclass_sources =
[<BR> _IPmacDeviceEvents,<BR> ]<BR> default_source =
_IPmacDeviceEvents<BR> coclass_interfaces =
[<BR> IPmacDevice,<BR> ]<BR> default_interface =
IPmacDevice</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">I can call
PmacDevice() class and everything works well to communicate with the card. There
is events managed in the library and I don't know how to use them? There is
nothing in the file concerning this class.</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> <SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Do you have a example
or tutorial ?</SPAN><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal> T<SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">hanks a
lot.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal> <SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Serge
Gauthier</SPAN><o:p></o:p></P></DIV></DIV><!-- SPAMfighter Signature --><BR></FONT></DIV></BODY></HTML>