ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ctypes-users
ctypes-users
RE: [ctypes-users] Re: jython
by Bradley Schatz other posts by this author
Nov 3 2005 4:53PM messages near this date
[ctypes-users] Re: jython | [ctypes-users] jython
Hi Thomas,

Im still lurking about on this list, and ctypes4j hasn't quite died in the
water as might be expected (perhaps I should update the web page more often
when I do CVS updates ;)

Ctypes4j is pretty much a full c/java bridge at present, but I havent found
the time to look at taking it into the COM world as you have done with
ctypes.  

Bradley


-----Original Message-----
From: ctypes-users-admin@[...].net
[mailto:ctypes-users-admin@[...].net] On Behalf Of Thomas Heller
Sent: Friday, 4 November 2005 7:03 AM
To: ctypes-users@[...].net
Subject: [ctypes-users] Re: jython

"Axel Seibert" <axel@[...].org>  writes:

>  Dear list!
>   
>  For accessing DLLs from python Thomas provides us with ctypes.
>  For accessing DLLs from jython/java, there is JNI. From what I've seen 
>  on the web, from a user's point of view, they look quite similar, in 
>  other words you load the DLL, define the c structures as classes and go
ahead.
>   
>  I wonder if anybody has thought or maybe even implemented a layer that 
>  will enable a ctypes programm to run in jython, using the JNI 
>  approach? I could very well imagine that by modifying the xml2py 
>  script one could auto-gerenate the stub code for jython as well. Only 
>  problem is, that I don't speak java.

The only thing that I know of that may be related is 'ctypes for java'.
In the early ctypes days, a guy named Bradley Schatz was interested to port
ctypes to java, and I added him as developer for the ctypes project on
sourceforge.  I don't know anything about the status, but there IS something
in CVS, and from time to time I see that Bradley commits
something:

http://cvs.sourceforge.net/viewcvs.py/ctypes/ctypes-java/

You might ask him directly about ctypes-java.

Thomas



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
ctypes-users mailing list
ctypes-users@[...].net
https://lists.sourceforge.net/lists/listinfo/ctypes-users



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
ctypes-users mailing list
ctypes-users@[...].net
https://lists.sourceforge.net/lists/listinfo/ctypes-users
Thread:
Thomas Heller
Bradley Schatz

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved