Solved by tom in post #2 
              
              
                Maybe it’s something about having the version it is compiled with and the one it is run with go out of sync? 
My impression is that unless you use some internal API, that is the most common source of the error. 
Best regards 
Thomas