Screen Captures in RM/COBOL vs. AcuGT

0 Likes

Problem:

Does AcuGT have a similiar routine to RM/COBOL's C$SCRD routine?

Resolution:

For screen captures, use:

W$BITMAP Routine

This routine is a collection of related operations that handle bitmap (BMP and JPG) images. Only Windows machines can actually display bitmaps. On all other machines, this routine returns an error code.

Usage

CALL "W$BITMAP"

    USING WBITMAP-CAPTURE-DESKTOP , parameters,

    GIVING BITMAP-HANDLE

Refer to the ACUCOBOL-GT Appendices manual, Appendix I, for details on this routine's operation codes and parameters.

Old KB# 2719
Comment List
Anonymous
Related Discussions
Recommended