Calling dlls from EPrime
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Calling dlls from EPrime Expand / Collapse
Author
Message
Posted 3/16/2008 5:02:54 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/16/2008 4:58:44 AM
Posts: 1, Visits: 1
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 (Version 1) 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??

Post #1345
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 9:50am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 10 queries. Compression Disabled.