in Search

Using MSFL in C# 2005 (2)

Last post 08-08-2007, 20:54 by carot. 2 replies.
Sort Posts: Previous Next
  •  08-07-2007, 9:25 24951

    Using MSFL in C# 2005 (2)

    Hi Carot

    For some reason I can't post a reply to you in that other thread.

    It must have something to do with the DataAvailable property. The DataAvailable property is a ushort type (if memory serves correct) so it shouldn't matter what order you add the field enumerators together.

    However are there limitations to what sets of fields you can enter? E.g. High, Low, Close, Vol and Date or Close, Vol, Date.

    Was the MDK MSFL manual any help? It should give a description of the DataAvailable property and any limitations.

    Regards

    Craig

  •  08-07-2007, 12:43 24955 in reply to 24951

    Re: Using MSFL in C# 2005 (2)

    Hi Carot

    I think I know why its not working. Your DataAvailable property should be assigned using ORing rather than summing the variables using a '+' operator.

    Try this:

    .DataAvailable = MSFL.MSFL_DATA_DATE | MSFL.MSFL_DATE_TIME | MSFL.MSFL_DATA_CLOSE | MSFL.MSFL_DATA_VOLUME;

    Regards

    Craig

  •  08-08-2007, 20:54 24967 in reply to 24955

    Re: Using MSFL in C# 2005 (2)

    Thanks for your help :)
View as RSS news feed in XML