<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/ctypes/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/ctypes/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 01 Jul 2006 00:20:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ctypes/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>WinCE Binaries</title><link>https://sourceforge.net/p/ctypes/support-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;A build is available for PythonCE 2.4.3 from the &lt;br /&gt;
PythonCE project site, but not here.  Could this be &lt;br /&gt;
done to avoid future confusion?  - Tod &lt;br /&gt;
KE7FXL@gmail.com&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 01 Jul 2006 00:20:58 -0000</pubDate><guid>https://sourceforge.net6ae7ebabee2a625c012d4b777e24202d257bff0c</guid></item><item><title>Any Win64 port planned in future ?</title><link>https://sourceforge.net/p/ctypes/support-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm using Python as a scripting language for our &lt;br /&gt;
software. Because our APS software needs a lot of RAM &lt;br /&gt;
we ported to 64bit (Win64) including Python. It all &lt;br /&gt;
works fine, but we have got the problem that ctypes &lt;br /&gt;
isn't compilable because of inline assembler usage in &lt;br /&gt;
the FFI (isn't supported on our compiler). Are there &lt;br /&gt;
sources available that don't use inline assembler ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 07 Feb 2006 08:12:15 -0000</pubDate><guid>https://sourceforge.netf5bff0c3606537b4fae27a5596507e1b2b063a28</guid></item><item><title>"import ctypes" and "Py_Initialize();"</title><link>https://sourceforge.net/p/ctypes/support-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If this code is launched 5 times, inside one C++&lt;br /&gt;
application the application crash:&lt;/p&gt;
&lt;p&gt;Py_Initialize();&lt;br /&gt;
PyRun_SimpleString("import ctypes");&lt;br /&gt;
Py_Finalize();&lt;/p&gt;
&lt;p&gt;Any idea for solution?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
VV&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 08 Nov 2005 18:04:08 -0000</pubDate><guid>https://sourceforge.net0117fc452416d74795144ae8c6ea6f16ab82cd87</guid></item><item><title>Handling VARIANT [in,out] arrays</title><link>https://sourceforge.net/p/ctypes/support-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;How is such a COM-Function called from Python?&lt;/p&gt;
&lt;p&gt;[id(0x000003f7), helpstring("Call the VI as&lt;br /&gt;
a subVI"), helpcontext(0x000029a6)]&lt;br /&gt;
void Call(&lt;br /&gt;
[in, out, optional]&lt;br /&gt;
VARIANT* paramNames, &lt;br /&gt;
[in, out, optional]&lt;br /&gt;
VARIANT* paramVals);&lt;/p&gt;
&lt;p&gt;I tried the following:&lt;br /&gt;
VARIANT5 = VARIANT *5&lt;br /&gt;
parmNames = VARIANT5()&lt;br /&gt;
v=VARIANT()&lt;br /&gt;
v.value = c_char_p("hostname42")&lt;br /&gt;
parmNames[0]=v&lt;br /&gt;
v=VARIANT()&lt;br /&gt;
v.value = "port"&lt;br /&gt;
parmNames[1]=v&lt;br /&gt;
v=VARIANT()&lt;br /&gt;
v.value = "Model VI Path"&lt;br /&gt;
parmNames[2]=v&lt;br /&gt;
v=VARIANT()&lt;br /&gt;
v.value = "Model DLL Path"&lt;br /&gt;
parmNames[3]=v&lt;br /&gt;
v=VARIANT()&lt;br /&gt;
v.value = "MDL_Path"&lt;br /&gt;
parmNames[4]=v&lt;br /&gt;
result = VARIANT5()&lt;br /&gt;
for i in range(0,4):&lt;br /&gt;
v=VARIANT()&lt;br /&gt;
result[i]=v&lt;/p&gt;
&lt;p&gt;self.initVI.Call(byref(parmNames),byref(result))&lt;br /&gt;
However i got the following exception:&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File&lt;br /&gt;
"c:\Programme\eclipse\plugins\org.python.pydev.debug_0.9.2\pysrc\pydevd.py",&lt;br /&gt;
line 811, in ?&lt;br /&gt;
debugger.run(setup['file'], None, None)&lt;br /&gt;
File&lt;br /&gt;
"c:\Programme\eclipse\plugins\org.python.pydev.debug_0.9.2\pysrc\pydevd.py",&lt;br /&gt;
line 748, in run&lt;br /&gt;
execfile(file, globals, locals);&lt;br /&gt;
File&lt;br /&gt;
"D:\compacthilpython\pythonInterface\LabVIEWInterfaceTest.py",&lt;br /&gt;
line 38, in ?&lt;br /&gt;
lvi.initialize();&lt;br /&gt;
File&lt;br /&gt;
"D:\compacthilpython\pythonInterface\LabVIEWInterface.py",&lt;br /&gt;
line 266, in initialize&lt;br /&gt;
self.initVI.Call(byref(parmNames),byref(result))&lt;br /&gt;
File&lt;br /&gt;
"C:\Python23\Lib\site-packages\ctypes\com\client.py",&lt;br /&gt;
line 383, in __call__&lt;br /&gt;
parms = self._build_parms(*args, **kw)&lt;br /&gt;
File&lt;br /&gt;
"C:\Python23\Lib\site-packages\ctypes\com\client.py",&lt;br /&gt;
line 369, in _build_parms&lt;br /&gt;
rgvarg[i].value = a&lt;br /&gt;
File&lt;br /&gt;
"C:\Python23\Lib\site-packages\ctypes\com\automation.py",&lt;br /&gt;
line 404, in _set_value&lt;br /&gt;
raise TypeError, "don't know how to store %r in a&lt;br /&gt;
VARIANT" % value&lt;br /&gt;
TypeError: don't know how to store &amp;lt;cparam 'P'&lt;br /&gt;
(00aa2e98)&amp;gt; in a VARIANT&lt;br /&gt;
Exception exceptions.AttributeError: "'NoneType' object&lt;br /&gt;
has no attribute 'currentThread'" in &amp;lt;bound method&lt;br /&gt;
_Cleaner.__del__ of &amp;lt;ctypes.com._Cleaner object at&lt;br /&gt;
0x00973C70&amp;gt;&amp;gt; ignored&lt;/p&gt;
&lt;p&gt;What did I make wrong?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 25 Jul 2005 07:02:53 -0000</pubDate><guid>https://sourceforge.neteb95a5044fe4b012a60c69236f6b6cc77326ab00</guid></item><item><title>Connection point in python</title><link>https://sourceforge.net/p/ctypes/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have written a  Python COM server using ctype library &lt;br /&gt;
and I am able to access it through VB.&lt;/p&gt;
&lt;p&gt;Now I want to add conection point so that My server will &lt;br /&gt;
be able to notify the end results to VB client. could you &lt;br /&gt;
please help me in providing teh reference code/Sample &lt;br /&gt;
which will help me to do the same.&lt;/p&gt;
&lt;p&gt;I have navigate many sites for the connection pointr &lt;br /&gt;
example but couldn't find any reference.&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;br /&gt;
Jagdish&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 03 Sep 2004 12:07:50 -0000</pubDate><guid>https://sourceforge.net2856bce29ccb0d9ae05fa8462f73e6436254c184</guid></item><item><title>Data structure</title><link>https://sourceforge.net/p/ctypes/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi there,&lt;br /&gt;
I found ctypes is great soft but it miss the possibility to &lt;br /&gt;
use data struct so many useful function cant work (for &lt;br /&gt;
example retrieving process is impossible).&lt;/p&gt;
&lt;p&gt;Please ad soon struct in function (as cmd and as result) &lt;br /&gt;
and ctypes will be one of the most usefull programming &lt;br /&gt;
facility for python (at least on win32 plat).&lt;/p&gt;
&lt;p&gt;Thanks &lt;br /&gt;
Major respect,&lt;br /&gt;
IAD&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 11 Aug 2003 08:34:16 -0000</pubDate><guid>https://sourceforge.net0570ab6784fe6d26955e4cc58b46dd2af31678d7</guid></item></channel></rss>