[futurebasic] Re: [FB] FB & Databases

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2000 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Thu, 1 Jun 2000 11:50:31 +1200
>After a little research, I found that Valentina is available as a shared
>library. So I'm going to try to create at least a partial interface. Problem
>is, some of the shared library calls are defined with underlines as the
>first character, as in "__library_init". When I try to define "toolbox fn
>__library_init( etc. )", the compiler doesn't like the first character
>underline in the function name.
>
>Any idea how I can define a toolbox call for the shared library for a
>function named like this?

A function with a name like "__library_init"  or "__initialize" is called
automatically by the Code Fragment Manager when the library is first
accessed. You don't need, and shouldn't try, to call it yourself. Usually
the library contains a matching function with a name like "__terminate", to
which the same comment applies.

Robert P.