/**********************************************************************/


bitmap 
       /* iconname */
                     .xbm 48x48 


/**********************************************************************/


   /* A Stub Object File in C for Windows 3.1 */

#include                                                                                                                  
void far PASCAL rcstub (void)                                                                                                        
  {                                                                                                                                  
  }   


/**********************************************************************/


   /*  A Stub Object File in C for Windows NT and OS/2 */                     

void rcstub (void)                                                                                                                   
  {                                                                                                                                  
  }  


/**********************************************************************/


   /* A Stub Object File in Assembler for Windows 3.1 */

TITLE iconstub.ASM                                                                                                                   
                                                                                                                                     
_TEXT SEGMENT BYTE PUBLIC 'CODE'                                                                                                     
                                                                                                                                     
      DB   "Icons for the SAS(r) System", 0DH, 0AH                                                                                   
      DB   "SAS is a Registered Trademark of"                                                                                        
      DB   " SAS Institute Inc.,"                                                                                                    
      DB   " Cary, NC, USA", 0DH, 0AH, 1AH                                                                                           
                                                                                                                                     
_TEXT ENDS                                                                                                                           
                                                                                                                                     
      END                                                                                                                            


/**********************************************************************/


   /* A Module Definition (.DEF) File for Windows 3.1 */

LIBRARY        uicondll                                                                                                              
DESCRIPTION    'Win 3.1 DLL File for SAS(R) Icons'                                                                                   
                                                                                                                                     
EXETYPE        WINDOWS                                                                                                               
                                                                                                                                     
STUB           'WINSTUB.EXE'                                                                                                         
                                                                                                                                     
CODE           FIXED PRELOAD                                                                                                         
DATA           NONE                                                                                                                
                                                                                                                                     

/**********************************************************************/


   /* A Module Definition (.DEF) File for Windows NT */

LIBRARY        uicondll                                                                                                              
DESCRIPTION    'Win NT DLL File for SAS(R) Icons'                                                                                    
                                                                                                                                     
CODE           FIXED PRELOAD                                                                                                         
DATA           NONE                                                                                                                  
                                                                                                                                     

/**********************************************************************/


   /* A Module Definition (.DEF) File for OS/2 */

LIBRARY        uicondll                                                                                                              
DESCRIPTION    'OS/2 DLL File for SAS(R) Icons'                                                                                      
                                                                                                                                     
STUB           'OS2STUB.EXE'                                                                                                         
                                                                                                                                     
CODE           FIXED PRELOAD                                                                                                         
DATA           NONE                                                                                                                  

 
/**********************************************************************/


   /* A Resource Script (.RC) File for Windows 3.1 and Windows NT */

1      ICON  PAGE.ICO                                                                                                                
2      ICON  LETTER.ICO                                                                                                              
3      ICON  BOOK.ICO    

 
/**********************************************************************/


   /* A Resource Script (.RC) File for OS/2 */

ICON   1     PAGE.ICO                                                                                                                
ICON   2     LETTER.ICO                                                                                                              
ICON   3     BOOK.ICO  

 
/**********************************************************************/

   /* General Form for Icon Statements in Windows 3.1 and Windows NT */

icon-number ICON icon-file.ICO    

 
/**********************************************************************/


   /* General Form for Icon Statements in OS/2 */

ICON icon-number icon-file.ICO    

 
/**********************************************************************/


   /* DOS Commands to Generate a Windows 3.1 DLL Using Either */ 
   /* the Microsoft C/C++ or Microsoft Visual C++ Compilers   */

cl -c -Gsw iconstub.c                                                                                                                
link iconstub.obj,uicondll.dll,nul,/NODEF,uicondll.def                                                                               
rc uicondll.rc uicondll.dll


/**********************************************************************/


   /* DOS Commands to Generate a DLL using Microsoft */ 
   /* Macro Assembler V5 or V6                       */

masm iconstub.asm;                                                                                                                   
link iconstub.obj,uicondll.dll,nul,/NODEF,uicondll.def                                                                               
rc uicondll.rc uicondll.dll  


/**********************************************************************/


   /* Windpws NT Commands to Generate a DLL using the Microsoft */ 
   /* 32bit Visual C++ Compiler                                 */

cl -c -Gs iconstub.c                                                                                                                 
rc -r uicondll.rc                                                                                                                    
link -dll -out:uicondll.dll -def:uicondll.def                                                                                        
       iconstub.obj uicondll.res  


/**********************************************************************/


   /* Windpws NT Commands to Generate a DLL using the Microsoft */ 
   /* Win32 SDK Macro Assembler                                 */

masm386 iconstub.asm;                                                                                                                
rc uicondll.rc uicondll.dll                                                                                                          
cvtres -i386 -o uicondll.rbj uicondll.res                                                                                            
link32 -dll -out:uicondll.dll iconstub.obj uicondll.rbj                                                                              
              

/**********************************************************************/


   /* OS/2 Commands to Generate a DLL using IBM OS/2 C Set or */ 
   /* C Set++ Compilers                                       */

link386 iconstub.obj,uicondll.dll,nul,,uicondll.def                                                                                  
rc uicondll.rc uicondll.dll                                                                                                          

                             
/**********************************************************************/


   /* Example of SAS Specific UNIX .Xdefaults File Parameters */

SAS.uiconPath: /
                /* user/usericon */
                                   /                                                                                                       
SAS.uiconCount: 3                                                                                                                    
SAS.sasUicon1: page                                                                                                                  
SAS.sasUicon2: letter                                                                                                                
SAS.sasUicon3: book


/**********************************************************************/


   /* Example of SAS Specific VMS SAS$XDEFAULTS File Parameters */

SAS.uiconPath: SASDISK:[
                        /* USER.USERICON */
                                           ]                                                                                               
SAS.uiconCount: 3                                                                                                                    
SAS.sasUicon1: page                                                                                                                  
SAS.sasUicon2: letter                                                                                                                
SAS.sasUicon3: book                                                                                                                  
                        

/**********************************************************************/


   /* X Windows System Command */

xrdb -load .Xdefaults  


/**********************************************************************/


   /* Option to Include on the Command Line or in the CONFIG.SAS File */

-USERICON 
          /* icon-resource-file-path number-of-icons */ 


/**********************************************************************/


   /* Example Option */

-USERICON C:\RESOURCE\TSTICONS.DLL 3  


/**********************************************************************/


   /* Form of Attribute */

\ 
  /* icon-number label-position */
                                   \  


/**********************************************************************/


   /* Statements to Add to the Modified Xdefaults Resource File */

SAS.uiconPath: /user/usericon/                                                                                                       
SAS.uiconCount: 2                                                                                                                    
SAS.sasUicon1: page                                                                                                                  
SAS.sasUicon2: letter                                                                                                                

                    
/**********************************************************************/


xrdb -load .Xdefaults 


/**********************************************************************/


   /* The DDL Stub, an Assembler Source Code File, ICONSTUB.ASM */

TITLE   ICONSTUB.ASM                                                                                                                 
                                                                                                                                     
_TEXT   SEGMENT BYTE PUBLIC 'CODE'                                                                                                   
        DB  "TSTICONS.DLL - Windows DLL for SAS(r) Icons"                                                                            
        DB  0DH, 0AH, 0AH                                                                                                            
        DB  "These icons are for Observations(r)"                                                                                    
        DB  0DH, 0AH                                                                                                                 
        DB  "SAS is a Registered Trademark of "                                                                                      
        DB  "SAS Institute Inc., Cary, NC, USA"                                                                                      
        DB  0DH, 0AH, 1AH
                                                                                                          
                                                                                                                                     
_TEXT   ENDS                                                                                                                         
                                                                                                                                     
        END                                                                                                                          
                                                                                                                                     

/**********************************************************************/


   /* Module Definition File, TSTICONS.DEF */

LIBRARY        TSTICONS                                                                                                              
DESCRIPTION    'Windows DLL File for SAS(R) Icons'                                                                                   
                                                                                                                                     
EXETYPE        WINDOWS                                                                                                               
                                                                                                                                     
STUB           'WINSTUB.EXE'                                                                                                         
                                                                                                                                     
CODE           FIXED PRELOAD                                                                                                         
DATA           NONE                                                                                                                  


/**********************************************************************/


   /* Resource Script File, STICONS.RC */

/*****************************/                                                                                                      
/* WINDOWS SAS DLL ICON FILE */                                                                                                      
/*      for TSTICONS.DLL     */                                                                                                      
/*                           */                                                                                                      
/* SAS Institute, Inc.       */                                                                                                      
/*****************************/                                                                                                      
1    ICON  PAGE.ICO                                                                                                                
2    ICON  LETTER.ICO                                                                                                                
                                                                                                                                     
           
/**********************************************************************/


   /* Commands to Create the DDL */

masm iconstub.asm;                                                                                                                   
link iconstub.obj,tsticons.dll,nul,/NODEF,tsticons.def                                                                               
rc tsticons.rc tsticons.dll                                                                                                          
                               

/**********************************************************************/