2022-08-28 09:35:46 +01:00
|
|
|
|
|
|
|
char VersionString[50]="";
|
|
|
|
char VersionStringWithBuild[50]="";
|
|
|
|
int Ver[4] = {Vers};
|
|
|
|
char TextVerstring[50] = "";
|
|
|
|
|
2023-06-21 08:21:04 +01:00
|
|
|
void GetVersionInfo(char * File)
|
2022-08-28 09:35:46 +01:00
|
|
|
{
|
|
|
|
#ifndef LINBPQ
|
|
|
|
|
|
|
|
char isDebug[40]="";
|
|
|
|
|
|
|
|
#ifdef SPECIALVERSION
|
2024-01-16 20:42:28 +00:00
|
|
|
strcat(isDebug, " ");
|
2022-08-28 09:35:46 +01:00
|
|
|
strcat(isDebug, SPECIALVERSION);
|
|
|
|
#endif
|
|
|
|
#ifdef _DEBUG
|
2024-01-16 20:42:28 +00:00
|
|
|
strcat(isDebug, " Debug Build");
|
2022-08-28 09:35:46 +01:00
|
|
|
#endif
|
|
|
|
|
2024-01-16 20:42:28 +00:00
|
|
|
sprintf(VersionString,"%d.%d.%d.%d%s", Ver[0], Ver[1], Ver[2], Ver[3], isDebug);
|
2022-08-28 09:35:46 +01:00
|
|
|
|
|
|
|
sprintf(TextVerstring,"V%d.%d.%d.%d", Ver[0], Ver[1], Ver[2], Ver[3]);
|
|
|
|
|
|
|
|
sprintf(VersionStringWithBuild,"%d.%d.%d Build %d %s", Ver[0], Ver[1], Ver[2], Ver[3], isDebug);
|
|
|
|
|
|
|
|
return;
|
|
|
|
#endif
|
|
|
|
}
|