| View previous topic :: View next topic |
| Author |
Message |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Dec 22, 2002 11:05 pm Post subject: Possible VDSCAP.DLL Bug |
|
|
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).  _________________ 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 |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Mon Dec 23, 2002 11:25 am Post subject: |
|
|
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 |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Dec 23, 2002 2:39 pm Post subject: |
|
|
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.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Mon Dec 23, 2002 7:26 pm Post subject: |
|
|
| Maybe you can delete the old BMP file with the file command, before you use the capture command... |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Dec 23, 2002 10:50 pm Post subject: |
|
|
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.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Tue Dec 24, 2002 10:04 am Post subject: |
|
|
| And if you try to copy/delete it with a BAT file? Maybe that will work... |
|
| Back to top |
|
 |
|