load and save of queue.xml

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

0ne
Posts: 8
Joined: 2003-09-05 08:23

load and save of queue.xml

Post by 0ne » 2003-09-07 14:08

i'm coding something in Delphi that is modifying the queue.xml file (priorities of files) and i was wondering if

a) queue.xml is loaded once (when starting dc++) or many times.
b) queue.xml is saved once (only when exiting dc++) or many times.

I don't know c++ so that why i didn't checked myself in the source code :oops:

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 07:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2003-09-07 15:00

Changes in the queue.xml are only loaded the starting dc++, expect form the changes automaticly made by dc such as new files to dowload an remove entries then a file i finished downloading if you tri to midify the queue.xml manually or with an outside prog you must have shutdown dc the doing it or the changes will be flused wehn it reads the queue.xml from memory.

Edit: I hope I got everyting right. :D

0ne
Posts: 8
Joined: 2003-09-05 08:23

Post by 0ne » 2003-09-07 16:29

okay that what i was thinking.thanx for answering :D

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 07:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2003-09-07 17:36

No problem. :D

Who is online

Users browsing this forum: Google [Bot] and 0 guests