View previous topic :: View next topic |
Author |
Message |
laurent_H Contributor
Joined: 30 Jun 2001 Posts: 60
|
Posted: Tue Jan 08, 2002 2:55 pm Post subject: What is the command in dos to print the screen or in C ? |
|
|
Hi everyone,
Is someone know What is the command in dos to print the screen or in C ? _________________ Thanks |
|
Back to top |
|
|
Mac Professional Member
Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Tue Jan 08, 2002 10:35 pm Post subject: |
|
|
This is "C++". I'm not sure if this function is in straight "C", but I'm
guessing it is by the "C" comment method used.
Code: |
--------------------------------------------------------------------
#include <dos.h>
int main(void)
{
/* Emit code that will generate a print screen via int 5 */
__emit__(0xcd,0x05);
return 0;
}
|
_________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
|
|
Back to top |
|
|
arcray Valued Contributor
Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Fri Mar 01, 2002 12:35 pm Post subject: |
|
|
Is there a way of using the ALT+PRINT SCREEN key combination from within a VDS exe.
The reason I ask is it would be useful for debugging remote users of our application if a screen dump were emailed (using VDSIPP) to us when errors occurred. _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
Back to top |
|
|
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Fri Mar 01, 2002 1:59 pm Post subject: |
|
|
There are several DLLs capable of capturing (parts of) the screen. I think PGWARE's VDSSAVE (screensaver) DLL can capture the full screen. Also my VDSCAP DLL from the VDSDLL 3 can capture a specified region of the screen.
Best regards,
Tommy |
|
Back to top |
|
|
arcray Valued Contributor
Joined: 13 Jul 2001 Posts: 242 Location: Aude, France
|
Posted: Fri Mar 01, 2002 3:08 pm Post subject: |
|
|
Thanks Tommy. I have now registered vdsdll3 and await a reg number
Regards _________________ Andrew GRAY
If you don't know I am looking for work, I won't get the job.
andrewrcgray.com |
|
Back to top |
|
|
|