[Gambas-user] Memory Stream Help

Randall Morgan rmorgan62 at ...626...
Sun Nov 20 05:42:11 CET 2011


Hi All,

Can someone give me a sample of using memory streams to read and write data
to/from memory.

I am needing to read data from a C structure allocated by the external
library (tidy) with the pointer returned to Gambas.

I read the page on external libraries many times before learning the Gambas
3 does not allow the use of READ on pointers any longer.
This should be updated on the how to use external libraries page in the
section "More on Pointers"

Still, with the given documentation for Gambas3 I am unable to get my
program to compile. So a sample of reading from memory using a pointer
would be very helpful.

Thanks!

-- 
If you ask me if it can be done. The answer is YES, it can always be done.
The correct questions however are... What will it cost, and how long will
it take?



More information about the User mailing list