Originally Posted by
Raul Hevia
If you check de code, ChatControl.SendMacro ends calling the function "BroadcastMessage" of class iRacingSDK. In iRacingSDK use the windows function "PostMessage" to send a message to iRacing. PostMessage is a Windows API method. In this post:
https_://members.iracing.com/jforum/posts/list/425/1826390.page#11883014
I explain what I've seen about PostMessage. Just change this method for the other one I indicate and everything works. The change is easy, where in the code you see "PostMessage", change it to "SendNotifyMessage". Now I can't, but tomorrow the only thing I can do is upload here the modified iRacingSDK class, but it's really easy to change.
https_://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-postmessagea
https_://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendnotifymessagea