Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
// stdafx.cpp : source file that includes just the standard includes// Creator.pch will be the pre-compiled header// stdafx.obj will contain the pre-compiled type information#include "stdafx.h"System::String ^GetVersionString(){return GetVersionString((float)PACKAGERVERSION, (int)PACKAGERBETA);}System::String ^GetVersionString(float version, int beta){System::String ^str = "V" + SystemStringFromCyString(CyString::CreateFromFloat(version, 2));// beta versionif ( beta > 0 )str += " (Beta " + beta + ")";// RC releaseelse if ( beta < 0 )str += " (RC " + (0 - beta) + ")";return str;}