Thanks Frank,
I missed that one.
Les
On 27/12/2016 21:25, Frank Tkalcevic wrote:
>
> if ( m_emcStatus->size != sizeof(EMC_STAT) )
> {
>
>
> The size of the structure is in the message, so you can check the version of
> your application, against the version of linuxcnc that you are communicating
> with. In my case, I just stop if there is a mismatch - if you want to
> support multiple versions, you need to manage version changes yourself ie
> create a constant for each size when versions change. Again, just a half
> solution.
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers