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.

Author
Message
Rknight
20
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 4th Jul 2004 13:01
Anybody got a good copy directory (including all subdirectories/files) function they want to share?
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 4th Jul 2004 14:12
click the logo


* DBP_NETLIB_v1.4.3 - July, 2004 * Click Logo
Rknight
20
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 4th Jul 2004 15:34 Edited at: 4th Jul 2004 15:35
Well yeah, I wondered if you'd post. I meant that you didn't have to download 25 megs or so to use. <G>

Kinda silly to use your plugin for a program if that's all the program'll need it for.
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 4th Jul 2004 16:28 Edited at: 4th Jul 2004 16:29
Here is one.



can i scream
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 4th Jul 2004 16:41
Quote: "Well yeah, I wondered if you'd post. I meant that you didn't have to download 25 megs or so to use. <G>
Kinda silly to use your plugin for a program if that's all the program'll need it for"


Then say that when you post - "I need code, but please, no plugins"

And theres the winch at every turn, posting umpteen lines of code of how to do stuff in dbp when dbp is sadly lacking in many of the basics....no, not even the basics, the prerequisites.


* DBP_NETLIB_v1.4.3 - July, 2004 * Click Logo
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Jul 2004 21:58
Um, copying directories is a prerequisite for what is primarily a Game Creation language?

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 4th Jul 2004 23:55 Edited at: 4th Jul 2004 23:55
There is no dir copy function in .Net either is there?
System.IO.Directory.Move()
System.IO.Directory.Delete()
but no
System.IO.Directory.Copy()

Unless I missed it.

Still the file related stuff in dbpro could be improved. Directory funtions are proberly a step too far for a game language though, exes are big enough allready

can i scream
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 5th Jul 2004 00:17
Quote: "And theres the winch at every turn, posting umpteen lines of code of how to do stuff in dbp when dbp is sadly lacking in many of the basics....no, not even the basics, the prerequisites."


I meant this generally - not in relation to a CopyDir function specifically. I should have been more clear. Either way I felt there were a great many basic things missing in the core language so I wrote myself a dll which Exeat was kind enough to wrap for me. Then we decided to share it with whomever wanted to use it.
Use it. Don't use it.

Either way, have fun.


* DBP_NETLIB_v1.4.3 - July, 2004 * Click Logo
Rknight
20
Years of Service
User Offline
Joined: 25th Sep 2003
Location: NJ
Posted: 5th Jul 2004 10:05
Thanks winch.
Monzi
20
Years of Service
User Offline
Joined: 10th May 2004
Location: Denmark
Posted: 5th Jul 2004 10:19
Directory/file handling in DB Pro sux. Very rudimentary. File handling for games could be useful, i already slammed my head into the wall when trying to fiddle with filehandling in db pro

http://monz.adsl.dk

Login to post a reply

Server time is: 2024-09-22 15:20:26
Your offset time is: 2024-09-22 15:20:26