home *** CD-ROM | disk | FTP | other *** search
- // Example: 056 from Library Reference
- #include "..\3D-Ware\dddware.h"
- #include <stdio.h>
- long address;
- short main(void)
- {
- address = dddGetScreenBufferAddress(); // Request the screen buffer's segment address.
- printf("Screen buffer segment address is 0x%lX\n\n",address/65535&0xFFFF);
- // Print the segment address for the screen buffer.
- return 0; // Bye.
- }
-