You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, could you please provide an example that shows correct initialization of HostConfiguration and ServiceConfiguration, and the function calls a Host and a Service should make after initialization to make good use of binderoo?
Especially interested in how to setup the create_thread variable in ServiceConfiguration which makes use of fastdelegate. I'm trying to map it to Windows CreateThread but it's not a 1:1 mapping.
The text was updated successfully, but these errors were encountered:
Might take a little while to get this, it's been quite busy.
I wouldn't expect CreateThread to be a 1:1 mapping anyway. If you ever get this running on 32-bit systems, the Windows ABI calling conventions are entirely different to stdcall etc. You'll need a wrapper at a minimum for cross-platform development, which is a consideration for Binderoo as it was originally designed to work with a C++ game engine.
I understand why it doesn't map 1:1. It's the integration with fastdelegate that makes it non-trivial (it's not just a function pointer with a void ptr to data.
No problem on the full example but could you please provide some explanation or sample code for what is expected in CreateThread with the fastdelegate? That should be enough to unblock me.
Hey, could you please provide an example that shows correct initialization of HostConfiguration and ServiceConfiguration, and the function calls a Host and a Service should make after initialization to make good use of binderoo?
Especially interested in how to setup the create_thread variable in ServiceConfiguration which makes use of fastdelegate. I'm trying to map it to Windows CreateThread but it's not a 1:1 mapping.
The text was updated successfully, but these errors were encountered: