View previous topic :: View next topic |
Author |
Message |
Zenethian
Joined: 06 Sep 2005 Posts: 1
|
Posted: Tue Sep 06, 2005 5:06 Post subject: Database access within a plugin |
|
|
Hello.
I'm writing my own plugin (for Linux), and I was wondering if there is a way to utilize the shared MySQL connection from the ODBC plugin, instead of having to manually go about and create my own connection and manually parse the nwnx2.ini file for DB login/password info. I noticed that the nwnx_speech plugin creates its own connection and parses the ini file manually but that seems to be a kludge.
Thanks. |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Sep 06, 2005 12:29 Post subject: |
|
|
At least in Windows (and I guess it is the same in the Linux version), the database connection can not be used by other plugins. This is something I just never managed to implement... _________________ Papillon |
|
Back to top |
|
|
|