cncdrive wrote:Hi Dan,
The Cultureinfo thing is for program threads. There can be 2 cases, we set it to EN/US or we forget to set it and then Windows uses the cultureinfo of that particular Windows installation.
When a macro thread is created then we set the cultureinfo to EN/US, so the macro always has the EN/US cultureinfo.
In plugins in the events/calls we also set the cultureinfo to EN/US when the thread is created and so the plugin writter does not have to set the cultureinfo.
I mean this is the plan how it should go, but a few times we forgot to set the cultureinfo for some events/calls and so then an issue could happen in the plugin if the programmer of the plugin did not take care to set the cultureinfo for that event for his code, if he coded things in the call which are cultureinfo dependent.
And in plugins the plugin writter can create their own threads which are independent of the UCCNC main code, so we can't set the cultureinfo for those externally created threads, for those the programmer of the plugin has to set the cultureinfo properly if it is required for his code. (The best if it is just set)
I have an idea though (and this question is to PillyWilly, because he can reproduce this issue), it is not about the cultureinfo, but to debug to see it closer where the problem lies.
My idea is that I will make a test UCCNC.exe in which I will code some Console writelines directly at the exec.Code calls to see what exactly texts does the Exec receives for execution from the machine.
Then PillyWilly could simply redirect that to the Console debugger to see the texts. And when the problem happens then he can upload a printscreen to let me see.
I would especially like to see what commands are sent to the executer, what commands, what coordinates etc. to understand the issue better.
So, the question to PillyWilly is if you will install this exe if I make one and if he will print some results for me? I mean I will only make this if he is willing to test it, because otherwise it would be useless to make anything like that, because the issue is unreproducable at us.
But offcause, anytime. I will be more than happy to help out.
Just send me the. exe and a description how to get the data to the Console.
Regards
Jan