| View previous topic :: View next topic |
| Author |
Message |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Dec 19, 2003 8:35 pm Post subject: VDSCAP.DLL and VDS 5.0??? |
|
|
Hi guys,
Will the VDSCAP.DLL (v. 3.0) work in VDS 5.0? If so, then what syntax should I use?
Thanks,
Boo |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Dec 19, 2003 8:40 pm Post subject: |
|
|
If it doesn't work, be sure you are defining the DLL functions and commands by
using code like:
| Code: | #define command,capture
#define function,capture |
If you still can't get it to work there are several other DLLs that can capture
the screen.
You can also use:
- VDSDLL 3
- VDSDLL28 (I think, not sure)
- VDSCONV.DLL
I hope this helps.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Dec 19, 2003 9:21 pm Post subject: |
|
|
Hi FreezingFire,
Thanks for your prompt response...
Yeppers, I already tried that, but to no avail.
Apparently VDSCAP.DLL [v.2.8] will work, as will VDSDLL.DLL [v.2.8], but the capture feature only entails the entire screen.
I need something that will allow me to capture only part of the screen. Furthermore, I was hoping to find a solution in a small .DLL. (The VDSDLLs are too large for my purposes.)
I for one would be willing to pay for a good, multi-featured screen-capture DLL.
Any other ideas?
Thanks,
Boo |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Dec 19, 2003 9:28 pm Post subject: |
|
|
-
The latest (free) VDSug.dll version with file IO, draw.dll
functions and many other features can be downloaded
here (VDSug.dll is only 30k):
http://www.trinex.net/users/mac/vdsug/
The UG_SAMPLE.ZIP file has a screen cap example
(UG_DC.DSC).
Cheers, Mac  _________________ 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 |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Dec 19, 2003 9:59 pm Post subject: |
|
|
Hi Mac,
Doesn't that only paint the desktop to your app, not capture the screen?
- FF _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Dec 19, 2003 10:10 pm Post subject: |
|
|
I think FreezingFire is correct. In particular, what I need is a solution for saving a portion of the desktop (i.e. a partial screen capture) to a file...
Thanks,
Boo |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Dec 19, 2003 10:11 pm Post subject: |
|
|
OOPS - prolly so.
SnarlingSheep is the one that wrote that example and I haven't
played with it much. Sorry.
If there's an API that does screen caps, VDSug might still do the
trick. I'm not familiar with screen capture though.
Cheers, Mac  _________________ 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 |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Dec 19, 2003 10:17 pm Post subject: |
|
|
Thanks for your input, fellas.
At least for now, I believe vdsconv.dll is the way to go...
- Boo |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Fri Dec 19, 2003 11:36 pm Post subject: |
|
|
| Code: | Commands:
EXTERNAL VDSCAP.DLL
You have to load the DLL using this command into VDS. Then you’ll be able to use its commands and functions.
CAPTURE CAPTURE, <filename>{, <top>, <left>, <width>, <height>}
This command captures the screen into the .BMP file <filename>. The part of the screen specified by <top>, <left>, <width> and/or <height> is captured. If one of the co-ordinates isn’t specified, a border of the screen is used for that. |
or using the vdsdll:
| Code: | | DLL CAPTURE, <filename>{, <top>, <left>, <width>, <height>} |
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Fri Dec 19, 2003 11:51 pm Post subject: |
|
|
Hi Garrett,
Which build of the VDSCAP.DLL are you using? I tried everything using the one that came with the v.3 DLLs, but I keep getting a "Missing argument(s) to function" error.
The one that came with the v.2.8 DLLs works, but only for a full screen capture.
Thanks,
Boo |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Dec 20, 2003 5:41 am Post subject: |
|
|
I do believe that the vdscap.dll is not updated to work with VDS 5 yet.
The vdsdll.... Hmmmmm, let me find out what version I have here. I'm
sure that it allows for sections of the screen also.
BRB.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Dec 20, 2003 5:45 am Post subject: |
|
|
VDS DLL Version 3.18.0.0, August 02, 2003.
And it does capture coordinate areas as well as doing full screen if you
leave the coordinates blank.
I used both the vdscap and vdsdll for the same purpose, which is a
screen zoomer program. Works for me.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Sat Dec 20, 2003 5:49 am Post subject: |
|
|
Thanks for the feedback, Garrett. Unfortunately, the VDSDLL is too large. I was hoping to find a way to utilize the VDSCAP.DLL.
Cheers,
Boo |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Sat Dec 20, 2003 7:51 am Post subject: |
|
|
Boo,
I might be able to help you out, and most likely with a dll size under 10-15k.
Being the holidays I can't promise any timeframe though.
Drop me an e-mail with any questions. _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Dec 20, 2003 8:25 pm Post subject: |
|
|
I know what you mean about the size.... I started off using the vdscap,
but when VDS 5 was finally released, the dll was no longer compatible
and I had no choice but to use the vdsdll when it was updated. I've been
waiting for the vdscap to be updated, but I don't want to bug Tommy
about it since he's been busy with other things in his life.
Sounds like SnarlingSheep might be able to come up with something
for you on this. Maybe he'll let me use his dll also when he's done. I'd
like to cut back on the size of my app also. I also was using the cap
for a color selection program. The other problem I noticed with using
the vdsdll over the vdscap, is that I noticed the vdsdll was slower at
capture than the vdscap was. That did kind of bum me out also.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
|