On 14-Apr-07, at 12:24 PM, Tim Jones wrote:

> On Apr 14, 2007, at 10:39 AM, Norman Palardy wrote:
>
>> On 14-Apr-07, at 11:19 AM, Tim Jones wrote:
>>
>>> Any pointers on how to pass a 2 member, modifiable array in this
>>> mode?
>>
>> A memory block
>
> Aha - writes on dri-erase board 100 times:
>
>       "I will learn to use memoryblocks"
>
> So that code becomes:
>
>       Dim thePipe As New MemoryBlock(8) // 2 Integers
>       Dim theErr As Integer
>
>       Soft Declare Function pipe Lib "LibC" (ByRef fd As Ptr) As Integer
>
>       theError = pipe(thePipe)
>
> This looks good, but now I'm getting "Function Not Found" when I call
> pipe during the compile.  So, it looks like Linux doesn't like the
> "LibC" library assignment.  When I use "/lib/libc.so.6", the code
> compiles and executes properly.
>
> Anyone experiencing declare issues on Linux?  Is this a bug (the LibC
> soft declare), or am I missing something?
>
> Thanks, Norman!

What version of RB ?
It used to not interpret the scripts that often are "libc" but should  
in newer versions
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to