1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Stop SimConnect_RequestDataOnSimObject(...) requests?

Discussion in 'SimConnect' started by Sims, 22/2/08.

  1. Sims

    Sims

    Joined:
    14/2/08
    Messages:
    53
    Country:
    unitedkingdom
    Hi,

    Maybe I am not reading the manual properly, (again), but how can I stop requests from been dispached?

    Currently I am tracking various Sim Objects Ids when they are added using SimConnect_RequestDataOnSimObject(...) via SIMCONNECT_RECV_EVENT_OBJECT_ADDREMOVE

    but when how do I stop/clear the request?
    I realize that when the object it removed FS is probably clever enough to remove it from the request queue, but what about when I simply want to stop the request? Is that not possible?

    Thanks

    Sims
  2. jimkeir

    jimkeir

    Joined:
    7/6/07
    Messages:
    87
    Country:
    unitedkingdom
    Hi,

    Re-send the same call you used to request the notifications, but with the period set to "SIMCONNECT_PERIOD_NEVER".

    Cheers,
    Jim
  3. Sims

    Sims

    Joined:
    14/2/08
    Messages:
    53
    Country:
    unitedkingdom
    Thanks

    Sims

Share This Page