<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; DIRECTION: rtl; FONT-FAMILY: "Times New Roman"; unicode-bidi: embed; TEXT-ALIGN: right
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; DIRECTION: rtl; FONT-FAMILY: "Times New Roman"; unicode-bidi: embed; TEXT-ALIGN: right
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; DIRECTION: rtl; FONT-FAMILY: "Times New Roman"; unicode-bidi: embed; TEXT-ALIGN: right
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
OL {
        MARGIN-BOTTOM: 0cm
}
UL {
        MARGIN-BOTTOM: 0cm
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=601125721-06122005><FONT face=Arial color=#0000ff
size=2>Certainly COM would work. In this case your VB EXE would use
CreateObject to create a Python implemented object. In response to GUI
events, the VB code can call Python methods and use the results. For
debugging, you should find any of the professional IDE packages that support
remote process debugging can cope with that - I use Komodo for that kind of
thing...</FONT></SPAN></DIV>
<DIV><SPAN class=601125721-06122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=601125721-06122005><FONT face=Arial color=#0000ff
size=2>Mark</FONT></SPAN></DIV>
<BLOCKQUOTE dir=rtl
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
python-win32-bounces@python.org [mailto:python-win32-bounces@python.org]<B>On
Behalf Of </B>Amit Antebi<BR><B>Sent:</B> Tuesday, 6 December 2005 10:18
PM<BR><B>To:</B> python-win32@python.org<BR><B>Subject:</B> [python-win32]
python - visualbasic integration<BR><BR></FONT></DIV>
<DIV class=Section1 dir=rtl>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">We want to combine
Visual Basic with Python</SPAN></FONT><SPAN dir=rtl></SPAN><FONT face=Arial
size=2><SPAN lang=HE dir=rtl style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=rtl></SPAN>.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">GUI will be in VIsual
basic</SPAN></FONT><SPAN dir=rtl></SPAN><FONT face=Arial size=2><SPAN lang=HE
dir=rtl style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=rtl></SPAN>.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Computation Engine
will be in python</SPAN></FONT><SPAN dir=rtl></SPAN><FONT face=Arial
size=2><SPAN lang=HE dir=rtl style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=rtl></SPAN>.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Which architecture do
you recommend</SPAN></FONT><SPAN dir=rtl></SPAN><FONT face=Arial size=2><SPAN
lang=HE dir=rtl style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=rtl></SPAN>:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN lang=HE dir=rtl
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
dir=ltr></SPAN><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN dir=ltr></SPAN>1.
COM - who will be client and who server, and
why</SPAN></FONT><SPAN dir=rtl></SPAN><FONT face=Arial size=2><SPAN lang=HE
dir=rtl style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=rtl></SPAN>?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
dir=ltr></SPAN><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=ltr></SPAN>2.</SPAN></FONT><SPAN dir=rtl></SPAN><FONT face=Arial
size=2><SPAN dir=rtl style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=rtl></SPAN> </SPAN></FONT><SPAN dir=ltr></SPAN><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=ltr></SPAN> Python API - access the python from VB using the python
API</SPAN></FONT><SPAN dir=rtl></SPAN><FONT face=Arial size=2><SPAN lang=HE
dir=rtl style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=rtl></SPAN>.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
dir=ltr></SPAN><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN dir=ltr></SPAN>3. Is
there another way? DLL? Python Embedding<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Things to
consider:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<OL style="MARGIN-TOP: 0cm" type=a>
<LI class=MsoNormal dir=ltr
style="MARGIN-LEFT: 36pt; DIRECTION: ltr; MARGIN-RIGHT: 0cm; unicode-bidi: embed; TEXT-ALIGN: left; mso-list: l0 level1 lfo1"><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The
computation engine will need to work with big amounts of memory, and we
don't want to load them each time we access python.
<BR><BR><o:p></o:p></SPAN></FONT>
<LI class=MsoNormal dir=ltr
style="MARGIN-LEFT: 36pt; DIRECTION: ltr; MARGIN-RIGHT: 0cm; unicode-bidi: embed; TEXT-ALIGN: left; mso-list: l0 level1 lfo1"><FONT
face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Debugging is
important.<o:p></o:p></SPAN></FONT> </LI></OL>
<P class=MsoNormal dir=ltr
style="MARGIN-LEFT: 18pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT
face=Arial size=2><SPAN lang=HE dir=rtl
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">For your
recommendations I thank you</SPAN></FONT><SPAN dir=rtl></SPAN><FONT face=Arial
size=2><SPAN lang=HE dir=rtl style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN
dir=rtl></SPAN>,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN lang=HE dir=rtl
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Amitay<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>