Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / File DLL plugin

Author
Message
warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 21st Apr 2006 23:00 Edited at: 22nd Apr 2006 12:50
hi, this DLL will make reading and writing files faster and easyer for anyone. command list and help file incuded in the zip plugin attached the the bottom of this post.

thanks and comments and new commard ideas will be very helpfull to the devlopment to this dll plugin.

dbpro plugins
web hosting
www.0z0.co.uk

Attachments

Login to view attachments
Sergey K
20
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 21st Apr 2006 23:25 Edited at: 21st Apr 2006 23:25
nice work dude..

so actually, its just Writing/Reading files.. right?

did you made any debug mode? or any checks so it wont crash?

oh and congrats for your 1st Dll made in delphi.

MyNewSite:http://gogetax.com
Forums(About BLO and more):http://gogetax.com/forum
warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 22nd Apr 2006 00:56
thanks sergey yes there is a debug sort of error thing and it sould not crash unless i forgot somethings. i got it to read/write and do someother stuff like get a certain line and get number of lines and stuff like that it also gets the age of a file the size will rename delete and so on. if anyone can think of any other stuff to go with it then i will see what i can do about adding them into it. but thanks agin sergey and it is my second dll lol i made that message box thing first lol.

dbpro plugins
web hosting
www.0z0.co.uk
warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 22nd Apr 2006 16:26 Edited at: 22nd Apr 2006 19:13
small update just added i will be posting it later on for you lot here is the new commard list so you can have a look i will update the dll once i have finshed testing it for you all. the search commard will allow you to look in up to 5 diffrent dir in one go i will add in a better seach like the find first and find next later in the week but for now there is this very simple seach



Update:
just added 3 more commands for fast searching so now as well as having a way of looking for one file in up to 5 dirs at once you can us findf and nextf which work like the dbpro commards. this will let you find any file in a dir or ones starting with a letter ending with a letter and so on e.g. u could find all the onces starting like this hihih.* the comards are faster and easyer to use than the dbpro set too thanks agin warship.

3 new commands are:


just added one more command for getting the size of the file you find

thats 18 commands now and i still got more to go

anyideas then let me know and i hope you enjoy updated dll being added later tonight

dbpro plugins
web hosting
www.0z0.co.uk
warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 22nd Apr 2006 20:03


there are all of the commands so far hope you enjoy and click on the attachment to download the dll any problems then you can post here or email me at warship45@hotmail.com

thanks

dbpro plugins
web hosting
www.0z0.co.uk

Attachments

Login to view attachments
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 23rd Apr 2006 08:46
I'd rather see random access files rather than more sequential.


warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 23rd Apr 2006 12:03
what you mean random access files?

dbpro plugins
web hosting
www.0z0.co.uk
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 23rd Apr 2006 12:42
Instead of reading from a file line by line, byte by byte, I could go straight to a specific spot in the file and read what I wanted.

read(file, offset)

That'd start reading the file from offset instead of at the beginning. Yea I know I could do something like skip(offset), but I believe thats slower.


warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 23rd Apr 2006 13:38
o you cna it is called readlinef it will allow you to read any line in the file at any ponit e.g. print readlinef(1,8) and it will print the 8th line of the file for you. is that not what you ment my system will also do it line by line depending on how you want to read the file.

dbpro plugins
web hosting
www.0z0.co.uk

Login to post a reply

Server time is: 2024-11-23 16:40:46
Your offset time is: 2024-11-23 16:40:46