[Gambas-devel] System calls?
Jean-Francois Perreault
cmcpero at ...28...
Mon Feb 2 00:58:01 CET 2004
would a component like that allow to access functions in abitrary libs
that don't have a gb component ?
like, if I want to access pam_save_state() in libpam but there isn't a
libpam component made for libpam yet ,
I could use it anyway with something like this dlopen component you
suggest ?
(this would open gambas to all the lib that will never have a component)
Rob wrote:
>On Saturday 31 January 2004 12:58, Ahmad Kamal wrote:
>
>
>> Just wondering, had VB been limited only to VB internal
>>functions, it would have been very limited, fortunately we had
>>Windows APIs! I was wondering if there is any mechanism to
>>enable us to call standard unix sys calls (or regular C libs)
>>from within GB (like Dlls from VB). I know that that doesn't
>>exist up till now, I am asking if it is possible to implement
>>such a mechanism. Would be pretty interesting huh.
>>
>>
>
>A while ago I started to think about writing a sort of "dlopen
>component" which would try to do much of what you describe, but
>so far I haven't had to because I haven't run into anything I
>can't do by running a command line program on a pipe and
>receiving its output in realtime (which is difficult in windows
>and impossible in VB.) I think it's only a matter of time,
>though.
>
>Rob
>
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by EclipseCon 2004
>Premiere Conference on Open Tools Development and Integration
>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
>http://www.eclipsecon.org/osdn
>_______________________________________________
>Gambas-devel mailing list
>Gambas-devel at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
>
>
>
More information about the Devel
mailing list