On 10/06/2018 10:29 PM, cc wrote:
And it successfully fires the 3-arg Run method of the callback object. However for some reason the function table of the ISteamClient seems to be off by one.. it kept calling the wrong methods until I commented one out, in this case GetIntPtr() as seen above, then everything seemed to line up.  Not sure what the proper way to ensure it matches the C++ layout here, but at least it seems to be mostly working for now.  Thanks again!

Ugh what GetIntPtr? Unless of course this header file is wrong[0].

Make the members match exactly, order and everything and it should "just work".

[0] https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/steam/isteamclient.h#L113

Reply via email to