|
|
#1 |
|
Senior Member
Join Date: Mar 2001
Location: smspower.org
Posts: 107
|
Get INI directory with user profle support
I'm trying to update my input plugin to support this newfangled multi-user support. That basically means I need to read/write settings from the profile-specified place instead of the default.
I need to get the directory during my plugin's init() and unfortunately, during this time, Winamp's window has not been created yet (my mod.hMainWindow is NULL and FindWindow doesn't find it) so I can't seem to send messages to get the right directory. Also, I've been storing settings in <plugins\plugin.ini> instead of <winamp.ini> which seems to be where plugins save things nowadays. Is that the way to go? I can't see much in the multi-user support that would make it seem like there is a possibility of per-user plugin directories either. Sample code would be nice. |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|