--- rasmol.c (OLD FILE) 2004-10-15 05:44:23.000000000 +1000 +++ rasmol.c (NEW FILE) 2005-08-11 17:19:16.000000000 +1000 @@ -234,6 +234,10 @@ static char displayMode; static char colourSetting; +//This varible is used to know if RasMol is launched as a shared +//application +static int isSharedApp; + /*=======================*/ /* Function Prototypes */ /*=======================*/ @@ -1381,6 +1385,8 @@ { FileFormat = FormatCEX; #endif + } else if(!strcmp(ptr, "sharedapp") ) { // Add the option to work with AcessGrid shared applications + isSharedApp = 1; } else /* File Formats! */ { for( j=0; j