- Messages
- 19
- Country
Hello FS Devs.
SC sends responses to all kinds of requests in the form of various structs like SIMCONNECT_RECV_SIMOBJECT_DATA. The way I understand this SC needs to allocate a memory segment every time to populate such a struct with whatever data was requested. My question is how and when this memory is freed? Is it that if I request values of a hundred of vars every simframe for a longer period of time I may run out of mem ? Or perhaps the struct is valid only until my dispatch callback returns ?
Any help, guys ?
SC sends responses to all kinds of requests in the form of various structs like SIMCONNECT_RECV_SIMOBJECT_DATA. The way I understand this SC needs to allocate a memory segment every time to populate such a struct with whatever data was requested. My question is how and when this memory is freed? Is it that if I request values of a hundred of vars every simframe for a longer period of time I may run out of mem ? Or perhaps the struct is valid only until my dispatch callback returns ?
Any help, guys ?