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 


Vdsinout.dll Help

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


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Sat Jan 10, 2004 8:37 pm    Post subject: Vdsinout.dll Help Reply with quote

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
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Sun Jan 11, 2004 11:57 am    Post subject: Reply with quote

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 Smile
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Sun Jan 11, 2004 11:51 pm    Post subject: Reply with quote

Thanks for the advise I will, its seems it might be easier for me.
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Jan 12, 2004 12:28 am    Post subject: Reply with quote

...

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 Smile

_________________
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
View user's profile Send private message Send e-mail
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