Re: Calling CVF-Fortran-dll with ctypes and simple structure

2008-04-08 Thread Michael Schäfer
Gabriel, works perfect - even in complex nested structures! Thank you very much! > (If both Fortran and VB say "char*9", why did you choose a pointer here?) I do not know this possibility. Could you please drop me a few lines? -- Michael -- http://mail.python.org/mailman/listinfo/python-list

Calling CVF-Fortran-dll with ctypes and simple structure

2008-04-07 Thread Michael Schäfer
Hi all, I deal with the old problem passing characters from python to a fortran dll build with CFV6.6c. I reduced our complex structure to a simple one. Here is the Fortran code: SUBROUTINE DEMO2L(s) C sample for calling CVF6.6c-DLLs from C vb/vba/python with simple structure