Library routines The following RM/COBOL library routines are supported by isCOBOL: Library Routine Known Limitations and differences C$GETENV C$GETLASTFILEOP C$GETLASTFILENAME C$GUICFG C$NARG C$RERR C$SETENV P$CLEARDIALOG P$CLEARFONT P$DISABLEDIALOG P$DISPLAYDIALOG P$DRAWBITMAP Mode must be “Absolute”. P$DRAWBOX Mode must be “Absolute”. P$DRAWLINE Mode must be “Absolute”. P$ENABLEDIALOG P$GETDEVICECAPABILITIES Only these attributes are supported: "Driver Version" return 0; "Technology" returns 2 (Printer) "Horizontal Size" horizontal size of the biggest supported page "Vertical Size" vertical size of the biggest supported page "Horizontal Resolution" Width of the biggest printable area, in dots. "Vertical Resolution" Height of the biggest printable area, in dots. "Logical Pixels X" maximum horizontal resolution in DPI "Logical Pixels Y" maximum vertical resolution in DPI "Aspect X" same as "Logical Pixels X" "Aspect Y" same as "Logical Pixels Y" "Aspect XY" Diagonal of a square whose sides are the 2 above "Physical Width" same as "Horizontal Size" "Physical Height" same as "Vertical Size" "Physical Offset X" starting x offset of the printable are "Physical Offset Y" starting y offset of the printable are "Scaling Factor X" always 0 "Scaling Factor Y" always 0. P$GETDIALOG Only these attributes are supported: "Print Dialog Copies" "Device Name" "Orientation" "Paper Size" "Device Mode Copies" "Default Source" "Print Quality" "Color" P$GETFONT Only these attributes are supported: "Height" "Width" "Escapement" "Weight" "Italic" "Underline" "Strike Out" "Pitch" "Face Name" P$GETTEXTMETRICS Only these attributes are supported: "Height" "Ascent" "Descent" "Internal Leading" "External Leading" "Average Character Width" "Maximum Character Width" "Weight" "Italic" "Underlined" "Struck Out" "Pitch" P$NEWPAGE Can’t specify orientation. P$SETDEFAULTMODE P$SETDEFAULTUNITS C$SETDEVELOPMENTMODE Mode must be “Absolute”. P$SETDIALOG Only these attributes are supported: "Print Dialog Copies" "Device Name" "Orientation" "Paper Size" "Device Mode Copies" "Default Source" "Print Quality" "Color" P$SETDOCUMENTNAME P$SETFONT Only these attributes are supported: "Height" "Width" "Escapement" "Weight" "Italic" "Underline" "Strike Out" "Pitch" "Face Name" P$SETPEN P$SETPOSITION Mode must be “Absolute”. P$SETTEXTCOLOR P$SETTEXTPOSITION Mode must be “Absolute”. P$SETTOPMARGIN The measure unit in "Character" is not supported P$TEXTOUT Mode must be “Absolute”. RENAME SYSTEM All the other routines must be replaced with the corresponding isCOBOL routine or with an isCOBOL syntax that has the same effect, if possible. The following table lists the known solutions to obtain the same effect of RM/COBOL routines. RM/COBOL routine isCOBOL solution C$BITMAP Use W$BITMAP with WBITMAP-DISPLAY op-code C$DARG Use C$PARAMSIZE to retrieve argument size. Other information is not available. C$DELAY Use C$SLEEP C$GETSYSINFO Use WIN$VERSION for Windows information. On other systems, call system APIs. C$LOGICALAND Use CBL_AND C$LOGICALOR Use CBL_OR C$LOGICALXOR Use CBL_XOR C$MBAR Use W$MENU with WMENU-NEW op-code C$MEMORYALLOCATE Use M$ALLOC C$MEMORYDEALLOCATE Use M$FREE C$PLAYSOUND Use WIN$PLAYSOUND C$RBMENU Use W$MENU with WMENU-NEW-POPUP op-code C$SBAR Display a STATUS-BAR control C$SECUREHASH Use A$ENCRYPT C$TBAR Display a TOOL-BAR C$TBAREN Modify the ENABLE property of buttons in the TOOL-BAR C$TBARSEQ Modify BITMAP and BITMAP-NUMBER properties of buttons in the TOOL-BAR C$TITLE Modify the TITLE property of the WINDOW C$WRU Use C$CALLEDBY DELETE Use either C$DELETE or CBL_DELETE_FILE If the routine that you’re looking for doesn’t appear in the above list, contact Veryant’s support to discuss about possible solutions.