Calling dll subroutines

AlanF alan.sunderland at nottingham.ac.uk
Sun Mar 16 09:39:10 UTC 2008


To control a USB interface I am calling subroutines from a dll.  This
works just fine for most calls but the one thing I cant get E-Prime to
do is to fill an array from the dll.
So, in standard Visual Basic, you pass a pointer to the array and fill
it  by doing this -
Private Declare Sub ReadAll Lib "k8055d.dll" (ByRef Data As Long)
then
Dim data(0 To 7) As Long
 ReadAll(data(0))

But it doesn't work in e-basic, and I tried all the variations I can
think of!
Pointers anyone??


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---



More information about the Eprime mailing list