[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] Win32 success! & Now SIP problems
From: "Hihn, Jason" <Jason.Hihn () verint ! com>
Date: 2004-11-23 20:18:38
Message-ID: BE7EC6C7A6F0E74AAB1E7E36BF5E9EB70AE391 () colms1 ! co ! corp ! verintsys
[Download RAW message or body]
--===============0310712647==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C4D199.9DEF6832"
This is a multi-part message in MIME format.
I finally got win32 success. It is a tricky bit, but its easy in
retrospect.
Now my issue is that the SIP dll can't stand to be entered twice by the
program.
For instance :
Loop:
Py_Initialize()
PyRun_SimpleString('Import qt') #imports SIP
Py_Finalize()
On the 2nd time around the program crashes in SIP
Is there anyway SIP can be fixed, or can I forcibly unload it?
__________________________________________________________________________________________
This electronic message may contain proprietary and confidential information of \
Verint Systems Inc., its affiliates and/or subsidiaries. The information is intended \
to be for the use of the individual(s) or entity(ies) named above. If you are not \
the intended recipient (or authorized to receive this e-mail for the intended \
recipient), you may not use, copy, disclose or distribute to anyone this message or \
any information contained in this message. If you have received this electronic \
message in error, please notify us by replying to this e-mail. (1)
[Attachment #3 (text/html)]
<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:st1="urn:schemas-microsoft-com:office:smarttags" \
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I finally got win32 success. It is a tricky bit, but its
easy in retrospect. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Now my issue is that the SIP dll can’t stand to be
entered twice by the program.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>For instance :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><st1:place w:st="on"><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Loop</span></font></st1:place><font
size=2 face=Arial><span \
style='font-size:10.0pt;font-family:Arial'>:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Py_Initialize()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>PyRun_SimpleString(‘Import \
qt’) #imports SIP<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Py_Finalize()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-indent:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>On the 2<sup>nd</sup> time around the program crashes in SIP
<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Is there anyway SIP can be fixed, or can I forcibly unload
it?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
<table><tr><td bgcolor=#ffffff><font \
color=#000000>__________________________________________________________________________________________<br>
This electronic message may contain proprietary and confidential information of \
Verint Systems Inc., its affiliates and/or subsidiaries.<br> The information is \
intended to be for the use of the individual(s) or<br> entity(ies) named above. If \
you are not the intended recipient (or authorized to receive this e-mail for the \
intended recipient), you may not use, copy, disclose or distribute to anyone this \
message or any information contained in this message. If you have received this \
electronic message in error, please notify us by replying to this e-mail. (1)<br> \
</font></td></tr></table>
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
--===============0310712647==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic