On Apr 14, 2007, at 10:19 AM, Tim Jones wrote:

> HI folks, I've got a library routine that I'm trying to access that
> requires a pointer to an array of integers.  I've tried to call it  
> with:
>
> Dim thePipe(2) As Integer
>
> Soft Declare Function pipe Lib "LibC" (ByRef thePipe) As Integer
>
> However, calls to pipe are failing with EFAULT or some undocumented
> value.

Update - my original test was under 2006r3 (the file associations  
still aren't right).  Retesting under 2007r2 results in a compiler  
error telling me that I can't pass an array to an external function.

Now I'm totally confused as there are lots of functions I would love  
to call that require pointers to arrays.

Tim
--
Tim Jones
[EMAIL PROTECTED]

_______________________________________________
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