forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


What is the command in dos to print the screen or in C ?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
laurent_H
Contributor
Contributor


Joined: 30 Jun 2001
Posts: 60

PostPosted: Tue Jan 08, 2002 2:55 pm    Post subject: What is the command in dos to print the screen or in C ? Reply with quote

Hi everyone,

Is someone know What is the command in dos to print the screen or in C ?

_________________
Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Jan 08, 2002 10:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Fri Mar 01, 2002 12:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Fri Mar 01, 2002 1:59 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Fri Mar 01, 2002 3:08 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group