Menu

#2 remote memory allocation not supported as in DCE

open
nobody
5
2001-02-05
2001-02-05
No

The normal, documented way to declare remote meory allocation is:

[in, out] long *pnSizeOut,
[out, size_is(,*pnSizeOut)] char** ppcReceiveData

where pnSizeOut will receive the size of the received data block and ppcReceiveData IS the datablock - remotely allocated by the server.

The FreeDCE-IDL-Compiler does not support this syntax and I found no way to my RMA work. I tried this:

[out, size_is(*pnSizeOut)] char** ppcReceiveData

but this does not work.

Greetings,
Manfred.

Discussion

  • Wez Furlong

    Wez Furlong - 2001-02-28

    Logged In: YES
    user_id=2628

    Can you give me more details - eg: the error messages or
    the idl output files?

     
  • Wez Furlong

    Wez Furlong - 2001-02-28

    Logged In: YES
    user_id=2628

    Can you give me more details - eg: the error messages or
    the idl output files?

     
  • Manfred Morgner

    Manfred Morgner - 2001-02-28

    Logged In: YES
    user_id=1536

    I will send you complete information. For the first shot,
    you may look at:

    http://cvs.sourceforge.net/cgi-
    bin/cvsweb.cgi/rmc/lib/_rmc.idl?rev=1.4&content-type=text/x-
    cvsweb-markup&cvsroot=rmc

    and chage the [out]-active line in "rmcCallMethode(..)" to:

    [out,size_is(,*pnSizeOut)] P_RMC_CHAR *ppcReceiveData

    But I will prepair an example for you within the next 24h

     
  • Manfred Morgner

    Manfred Morgner - 2001-03-02

    Logged In: YES
    user_id=1536

    Is anyone, responsible for FreeDCE, willing to send m e his
    email address? This will it make a lot more easier to send
    you the source files for your experiments.

    Many thanks,
    Manfred.
    manfred.morgner(a)gmx.net

     
  • Wez Furlong

    Wez Furlong - 2001-03-02

    Logged In: YES
    user_id=2628

    Manfred,

    Everyone on sourceforge has an email address of the form:
    username@users.sourceforge.net,
    so you can reach me on
    mailto:wez@users.sourceforge.net

    --Wez.

     
  • Wez Furlong

    Wez Furlong - 2001-07-19

    Logged In: YES
    user_id=2628

    Can you verify if this is a problem in the earliest release
    from SF?
    Even better, can you try it with the pre-SF versions
    hanging around out there (try Jim Doyles site).

    --Wez.