Here's a sample in DBPro of how to use vrSnap.dll:
` put this at the top of your app
` ----- Snap the Desktop using vrSnap.dll by VRMan
snap:
hide window
sleep 1000
` snap desktop first thing
load dll "vrSnap.dll", 1
` If you use vrSnap.dll please just give me
` a link and credit for it in your app and
` documentation. Thanks.
if DLL EXIST(1)
` Note that vrSnap supports .bmp, .png,
` and .jpg image formats. Just change
` the extension of 'test.bmp' here.
` (some formats are smaller and faster)
call dll 1, "snap", "testDesk.png"
delete dll 1
endif
sleep 1000
show window
` now just load up the image that vrSnap created
nextbmpnum = 1
desktopimage = nextbmpnum
inc nextbmpnum
load image "testDesk.bmp", desktopimage
Let me know if you have any questions about it. And once again, you can pick it up for free (currently) at
http://www.vrman3d.com. I just put it on the main page and I'll try to add some code samples in C++ and a working downloadable demo in both C++/GDK and DarkBasicPro.
While you're there please leave a note on my guestbook.
Best regards,
-=VRMan=-
World Famous 3D Screensavers
-- http://www.vrman3d.com --