PureBytes Links
Trading Reference Links
|
Very helpful indeed thanks. So really the .dll can
have access to this record for its own purposes but it
cannot pass this back to MS because it has no string
handling facility?
When a chart is loaded, how does an external formula
"know' the symbol? Does it? Or does this come from the
record structure you talked about?
--- bradulrich33 <brad.ulrich@xxxxxxxxxxxxxxxxxxxxx>
wrote:
> Every MSXDataRec (the basic structure that is passed
> in when you pass
> in a price array) contains a string (i.e., character
> array)
> called "pszSecurityName". This will work just fine
> inside of a DLL,
> but unfortunately, you can't return a string from a
> DLL, only another
> array.
>
> But several methods come to mind that may help
> accomplish your task:
>
> You can check to see if the passed in array's name
> equals a name that
> you hard-code into your
> DLL, and return a boolean (zero or one) "constant
> array".
>
> Or you could have a list of names hard-coded into
> your DLL, and
> return a different numeric "index" for each name in
> the
> list.
>
> Finally, you could pass in a name as a string
> argument, and then
> return zero or one if it matches it or not.
>
> Hope this helps,
>
> Brad Ulrich
> TheDML, LLC
>
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "deepfoobar"
> <deepfoobar@xxxx>
> wrote:
> > Folks,
> >
> > I am curious if there any way at all to get the
> current symbol value
> > (ticker) back from MS in formula or DLL?
> >
> > BTW this value does not at all have to be
> something that MS itself
> > recognizes, I simply need to pass it along as a
> value to a .DLL.
> >
> > It seems completely brain-dead to me that MS never
> provided a way to
> > do this but I won't be surprised if the answer
> turns out to
> be "there
> > is no way".
>
>
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|