public static void CreateApplicationObjectForCrossTarget()
	{
		if (currApp == null)
		{
			currApp = (c__steam)Sybase.PowerBuilder.WPF.PBSession.CurrentSession.CreateInstance(typeof(c__steam), 0);
			currApp.steam = currApp;
		}
	}
	public static c__steam GetCurrentApplication()
	{
		if (currApp == null)
		{
			currApp = Sybase.PowerBuilder.PBApplication.CurrentApplication as c__steam;
			if ((currApp != null )&&(currApp.steam == null))
			{
				currApp.steam = currApp;
				
			}
		}

		return currApp;
	}