I don't see where this is discussed before, but isn't it very handy for plug-ins to save their last used setting ? Meaning to save the position of sliders and button selections when they unload ?
I know that it is additional work for Plug-in developers, but if everyone agrees that it is useful, could some developers who have already done it share their method as a best practice, to make it easier for other plug-in developers to implement ?
I think many developers don't implement because it is too much work.... comments ?
I know that it is additional work for Plug-in developers, but if everyone agrees that it is useful, could some developers who have already done it share their method as a best practice, to make it easier for other plug-in developers to implement ?
I think many developers don't implement because it is too much work.... comments ?
Inviato Wed 13 Jul 05 @ 6:45 pm
We allready share some plugin source code :)
Inviato Wed 13 Jul 05 @ 8:11 pm
In fact there is two methods:
* the complicated in XML as you need to use an external class in C++ to work with the XML. But of course it's the more beautiful way
* the second one is the easier, you save data in a simple file (you can use .txt or .ini or your own extension) and you use some famous function to write/read in file. In language C, you declare a pointer on a type FILE and you use the two functions fprintf() and fscanf(). Include the library stdio.h at the beginning.
You can use the language C++ with the library iostream if you prefer
For the moment i use the second choice as i don't have a lot of options and i don't see the interest of xml for my plugins I showed the way to save data to Deun-Deun but he didn't succeed to use it and i was busy for a long time so i don't have news from him for the moment
* the complicated in XML as you need to use an external class in C++ to work with the XML. But of course it's the more beautiful way
* the second one is the easier, you save data in a simple file (you can use .txt or .ini or your own extension) and you use some famous function to write/read in file. In language C, you declare a pointer on a type FILE and you use the two functions fprintf() and fscanf(). Include the library stdio.h at the beginning.
You can use the language C++ with the library iostream if you prefer
For the moment i use the second choice as i don't have a lot of options and i don't see the interest of xml for my plugins I showed the way to save data to Deun-Deun but he didn't succeed to use it and i was busy for a long time so i don't have news from him for the moment
Inviato Wed 13 Jul 05 @ 10:57 pm
dose any one know how to get the lame plugin (the plugin for recording)
Inviato Thu 14 Jul 05 @ 9:51 pm
You will not find it on this site.
Search on the Internet (lame_enc.dll), it is a freeware.
Search on the Internet (lame_enc.dll), it is a freeware.
Inviato Thu 14 Jul 05 @ 10:49 pm
now how do you do that second choice you said because this is the biggest problem i have with these plugins
Inviato Fri 19 Dec 08 @ 6:42 pm
dizon7th wrote :
now how do you do that second choice you said because this is the biggest problem i have with these plugins
It's only relevant to plugin developers, and file I/O is a basic concept ;)
Every plugin I can think of saves it settings these days?
Inviato Fri 19 Dec 08 @ 7:01 pm
see im not a plugin developer
Inviato Wed 07 Jan 09 @ 5:20 pm
In which case I don't understand your query.
Inviato Wed 07 Jan 09 @ 5:58 pm