PureBytes Links
Trading Reference Links
|
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
>
|