PureBytes Links
Trading Reference Links
|
I don't have ts2000 and probably wont go to it. There is no reason to use the
function you mentioned. Simply pass the address of the value by reference as
an input to the function. You must use the findaddressarray function however
if you want to access an array. This is because TS uses circular buffers.
At 04:06 PM 11/18/99 -0500, M. Simms wrote:
>Are we talking about TS4 or TS2000i here ....regarding the above ????
>
>These do not seem to work in TS2000i - SP2.....all other FindAddressXXXX
>functions work fine.
>I set the variable in EL: Value1 = 43511;
>
>When I make the FindAddressVar call, the address shows 0 !!!!
>
>
>Interestingly.....only these two use "far float" pointers......I wonder if
>that is the problem.
>
>
>Your experiences ?
>> -----Original Message-----
>> From: Charles Kaucher [mailto:steinbr@xxxxxxxxxxxx]
>> Sent: Saturday, September 25, 1999 4:08 PM
>> To: code-list@xxxxxxxxxxxxx; omega-list@xxxxxxxxxx
>> Subject: CL_RE: My experience with a DLL
>>
>>
>> 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.
>> >
>>
>> - Subscription Information link -
>> http://www.markbrown.com/list.htm
>>
>
Charles Kaucher
mailto:steinbr@xxxxxxxxxxxx
If you want to build a ship, don't drum up people to collect wood and
don't assign them tasks and work, but rather teach them to long for the
endless immensity of the sea. - Antoine de Saint-Exupery
|