Hi Tbourdai,
Actually it's the Wb script function GetObjectClass() that you have used, and the difference between wb_ge and the configurator Ge is that in wb_ge no database is loaded and neither are the Wb script functions, so you can't use any Wb script functions there.
If Ge was started from the configurator though, it so happens that the Wb version of GetObjectClass() is used as the Wb functions are loaded first.
/Claes