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 


Possible VDSCAP.DLL Bug

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


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Dec 22, 2002 11:05 pm    Post subject: Possible VDSCAP.DLL Bug Reply with quote

I am having a problem with the following script:

Code:
external @path(%0)vdscap.dll
repeat
wait 5
capture capture,@path(%0)capture.bmp
until @event()
:close
exit


It works a couple of times and then it will give me error 27 (Untrapped
error in an external command or function). Confused

_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Mon Dec 23, 2002 11:14 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Dec 23, 2002 11:25 am    Post subject: Reply with quote

Maybe the DLL is still writing the BMP to your HD when he needs to write it again. In that case, the DLL can't overwrite it. Maybe you can try something like this:

Code:

external @path(%0)vdscap.dll
%z = 0
repeat
wait 5
capture capture,@path(%0)"capture"%z".bmp"
%z = @succ(%z)
until @event()
:close
exit
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Dec 23, 2002 2:39 pm    Post subject: Reply with quote

I'm going to have change my original code around, but you're probably
right. The only problem with that is that I need to have the same file name
for the capture each time.

I even tried using one EXE to wait 5 then run another executable which
would load the DLL separately and then capture to the same file name.
That didn't work either. Confused

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Dec 23, 2002 7:26 pm    Post subject: Reply with quote

Maybe you can delete the old BMP file with the file command, before you use the capture command...
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Dec 23, 2002 10:50 pm    Post subject: Reply with quote

Hi Skit,

I already tried that yesterday. It seems like I'll have to do something like
copy the capture to a different file name and then keep repeating that
process. Confused

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Dec 24, 2002 10:04 am    Post subject: Reply with quote

And if you try to copy/delete it with a BAT file? Maybe that will work...
Back to top
View user's profile Send private message
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