On Sunday, April 25, 2021 at 10:53:45 PM UTC+5:30 anmol....@gmail.com wrote:
prefsP_= new Fl_Preferences(Fl_Preferences::USER, vendor, product);
dataP_ = new Fl_Preferences(nullptr, "Runtime");
As we know, prefsP_ is written to HDD. dataP_ is only maintained in memory. In my code design, I'd like to make an identical copy of prefsP_ as runtime. The user can access these values without disk access and modify them as needed.
Only values that need to be saved will be written to HDD via prefsP_
Is there an API call like - copy (prefsP_, dataP_) or something similar ?
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.