SalesLogix.SlxApplication slx = null;try{ slx = new SalesLogix.SlxApplicationClass(); slx.GlobalInfo.Add("MyGlobalVar", "This is the contents of my global var");}finally{ Marshall.ReleaseComObject(slx);}