| View previous topic :: View next topic |
| Author |
Message |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Sat Jan 10, 2004 8:37 pm Post subject: Vdsinout.dll Help |
|
|
How do I use this right?
I have this code which i made from reading the help file that comes with vdsinout.dll, but I dont understand how to write files back.
I think my code is reading from the test file but its not writing to the test2 file.
What am I doing wrong?
How do i actually read and write files?
| Code: |
external @path(%0)Vdsinout.dll
IO TOPARM,LENGTH
io reduce,OFF
io exclusive,OFF
%%POS1 = 1
%%POS2 = 256
%%READER = @IO(READB,c:\test.exe,%%POS1,%%POS2)
%%WRITER = @io(writb,%%string,c:\test2.exe,%%Pos1)
|
|
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Sun Jan 11, 2004 11:57 am Post subject: |
|
|
If I was you, I should use the BINFILE command and function... It's a lot better documented and is capable of doing the same (I thought)
Regards
Vic _________________ phpBB Development Team |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Sun Jan 11, 2004 11:51 pm Post subject: |
|
|
| Thanks for the advise I will, its seems it might be easier for me. |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Mon Jan 12, 2004 12:28 am Post subject: |
|
|
...
You might also want to check out the free VDSug.dll.
It has file IO and many other features, does some
things BINFILE can't, and is reportedly faster on
large files. DLL size is about 30k (written in C).
VDSug.dll also draws pie charts, lines, ellipses, rectangles,
rounded rectangles, has a getpixel function that returns any
pixel color on your screen, can use non-VDS DLLs and more.
http://www.trinex.net/users/mac/vdsug/
There are some example DSC files at the web page.
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 |
|
 |
|
|
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
|
|