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

RE: DLL functions - FindAddressVar/Array



PureBytes Links

Trading Reference Links

Anyone think the following ?

THIS STINKS !!!

> -----Original Message-----
> From: Erik Been [mailto:been@xxxxxxxxxxxxxx]
> Sent: Friday, November 19, 1999 8:24 PM
> To: M. Simms
> Cc: omega-list@xxxxxxxxxx
> Subject: Re: DLL functions - FindAddressVar/Array
>
>
> I've had a lot of trouble with FindAddressVar, and I've been told by a
> number of people at Omega that this is not a new problem.
> Apparently there
> were a bunch of problems in TS4.0 as well. For some reason this function
> will return 0's or very large numbers when you try to access a variable
> farther back in time than the most current. Omega has not scheduled a fix
> for this, so I think we're going to be stuck with it for awhile - or
> forever. You will have to use some other function than this one
> if you want
> to access variables in TS.
>
> Erik
>
>
> ----- Original Message -----
> From: M. Simms <prosys@xxxxxxxxxxxxxxxx>
> To: Charles Kaucher <steinbr@xxxxxxxxxxxx>; <code-list@xxxxxxxxxxxxx>;
> <omega-list@xxxxxxxxxx>
> Cc: <102577.325@xxxxxxxxxxxxxx>
> Sent: Thursday, November 18, 1999 2:06 PM
> Subject: DLL functions - FindAddressVar/Array
>
>
> > 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
> > >
> >
>