[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: My experience with a DLL



PureBytes Links

Trading Reference Links

Barry,

You can actually pass the ref to an array but you must use the
findaddressArray function in the DLL since you cannot depend on normal
array increment due to the use of circular buffers in Omega.

Chuck Kaucher
>Date: Fri, 24 Sep 1999 12:58:23 -0400
>From: Barry Kaufman <102577.325@xxxxxxxxxxxxxx>
>To: code-list@xxxxxxxxxxxxx, omega-list@xxxxxxxxxx
>Subject: My experience with a DLL
>Message-ID: <199909241258_MC2-863B-4072@xxxxxxxxxxxxxx>
>Content-Type: text/plain;
>	charset=ISO-8859-1
>Content-Disposition: inline
>Content-Transfer-Encoding: 8bit
>
>Thanks to those who answered my recent DLL questions.  Particularly
>about how to pass a float from the DLL to EasyLanguage.  The answer is
>now clear.  Pass the address of an EL float variable to the DLL via
>a DLL input parameter.  Then don't try to return the float by the
>normal DLL function return.  Instead have the DLL write the float result
>directly to that EL variable address.  It worked.
>
>And, this opens up other possibilities.  A function can normally return
>only one value.  But a number of EL variable addresses can be passed to
>the DLL function and that function can write a different value to each
>of those EL variables.
>