PureBytes Links
Trading Reference Links
|
I have not written DLLs in a long time, but if I
remember correctly, in your DLL you should be getting
148993 as an integer. Then you need to divide by the
price scale to get the actual value.
H
--- Aaron Talsky <counsel1@xxxxxxxx> wrote:
> Make that 148.933 becomes 149.
>
>
>
>
>
> ----- Original Message -----
> From: "Aaron Talsky" <counsel1@xxxxxxxx>
> To: <omega-list@xxxxxxxxxx>
> Sent: Tuesday, March 28, 2000 2:57 PM
> Subject: DefineDLLFunc
>
>
> > Does anybody have any working code calling a DLL
> and passing a close
> price?
> > I am at a complete programming standstill because
> I cannot figure out
> > something as simple as how to pass a closing price
> and have not been able
> to
> > elicit a response from the list. When I pass the
> close as a signed long
> > integer (which is what the developers toolkit
> APPEARS to say-- ("ALL
> VALUES
> > IN EASYLANGUAGE ARE FLOATS EXCEPT OPEN, HIGH, LOW,
> and CLOSE VALUES WHICH
> > ARE INTEGERS") I am losing significant digits, ie.
> getting a rounded
> integer
> > value on the DLL end (148.333 becomes 149 on the
> DLL end). This is really
> > driving me nuts.
> >
> > Will somebody PLEASE rescue my day and give me a
> hand.
> >
>
>
|