Re: Allocation interoperability (Fortran/C)



"Jugoslav Dujic" <jdujic@xxxxxxxxx> writes:

Hello!

I've written "my own" ISO_C_BINDING (for IVF and FTN95), but the problem is
that the ISO_C_BINDING.f90 is a cludge. Plus, it needs an additional wrapper
routine for every type (and TYPE) which is subject to C_F_POINTER conversion.
(C_F_POINTER itself is a generic interface).

So, it's mostly doable with F95+extensions+reverse engineering of array
descriptor, although the wrapper code is really ugly; the "user-side" code
is, however, F2003-compatible (AFAICT).

I can send you the code if you like.

I would be very much obliged if you could do so!

Thanks,

Sebastian
.



Relevant Pages

  • Re: Problem using ForeignToRTF32
    ... There are issues with permissions on ... not DCOM. ... and the conversion always works without a problem. ... exactly the same arguments to the routine from both programs. ...
    (microsoft.public.word.conversions)
  • Re: Possible Feature
    ... Just done a series of big DB changes and needed to recompile all the SPL ... I use 'LIKE' for the input parameters and local variables but you ... Having internal variables within a routine that are defined LIKE table.column is fine as these are used internally and if you modify the table the routine will be recompiled the next time it is run so no problems. ... the routine recompiles and the ESQL/C or ODBC library makes the appropriate automatic conversion from CHARto INTEGER. ...
    (comp.databases.informix)
  • Re: Converting a bitmap from 24 bits format to 8 bits format
    ... First you need to create an empty folder somewhere and then unzip the contents of the zip file that you downloaded into that folder. ... So far the program has performed the conversion but it hasn't saved the result. ... bytes for the pixel data itself with the remaining thousand or so bytes being the header data and the palette data. ... buttons into the "Private Sub cmdConvert_Click" routine and you could hard code an output filename into the "Private Sub cmdSave_Click" routine and comment out the bits that show the save dialog. ...
    (microsoft.public.vb.general.discussion)
  • Re: Problem using ForeignToRTF32
    ... and the conversion always works without a problem. ... exactly the same arguments to the routine from both programs. ... I already tried adding an invisible window to my service, ... hidden dependency on having a window available from the calling program, ...
    (microsoft.public.word.conversions)
  • Re: Possible Feature
    ... Just done a series of big DB changes and needed to recompile all the SPL ... I use 'LIKE' for the input parameters and local variables but you ... Having internal variables within a routine that are defined LIKE table.column is fine as these are used internally and if you modify the table the routine will be recompiled the next time it is run so no problems. ... the routine recompiles and the ESQL/C or ODBC library makes the appropriate automatic conversion from CHARto INTEGER. ...
    (comp.databases.informix)