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
[ctypes-users] jython
by Axel Seibert other posts by this author
Nov 3 2005 3:12AM messages near this date
RE: [ctypes-users] Re: jython | RE: [ctypes-users] jython
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. 
 
Any thoughts?

Thanx,
Axel
 
Attachments:
unknown1
unknown2

Thread:
Axel Seibert
Bradley Schatz

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