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

[EquisMetaStock Group] Re: Getting Ticker Name - IS there a way?



PureBytes Links

Trading Reference Links

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".






 
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/