Symptoms
"src\GlobalObjects.cpp, 226" error is occurs during the Engine initialization.
Cause
The Internal Program Error on creating Engine object : src\GlobalObjects.cpp, 226 may occur when you do not explicitly specify all of the parameters in the InitializeEngine method call.
For example, if you use the following line of code in your application:
Engine = engineLoader.InitializeEngine( "rSKZZG5TRH3hFTPjyTfB");
you may get this error.
Resolution
In order to resolve this issue, you need to explicitly set all of the parameters:
Engine = engineLoader.InitializeEngine( "rSKZZG5TRH3hFTPjyTfB", "", "", "", "", false );