Mysql++ questions
by Andy Rollins · in Torque Game Engine · 05/26/2007 (12:18 pm) · 2 replies
Hi, I'm trying to get the Event Driven Database resource up and running using the MySql++ api, which is licensed under the GNU LGPL license. Reading though that license shows that we are not allowed to build the mysql++ api into TGE and then share/sell it without providing full source for the library and object files/source code for TGE (which would invalidate our TGE license).
So in order to use it on windows we must put it in a DLL and must switch the torque project to link to the runtime libraries as Multi-threaded DLL (/MD) instead of it's default Multi-threaded (/MT)...
1. Can anyone verify if that's right or if I'm talking rubbish?
2. What's the likely performance impact on torque linking dynamically rather static?
3. Lastly I know nothing about linux/mac, as they don't have DLL's how would they use such a seperate library?
Thanks in advance, Andy
So in order to use it on windows we must put it in a DLL and must switch the torque project to link to the runtime libraries as Multi-threaded DLL (/MD) instead of it's default Multi-threaded (/MT)...
1. Can anyone verify if that's right or if I'm talking rubbish?
2. What's the likely performance impact on torque linking dynamically rather static?
3. Lastly I know nothing about linux/mac, as they don't have DLL's how would they use such a seperate library?
Thanks in advance, Andy
Torque Owner asmaloney (Andy)
Default Studio Name
(2) Little-to-no impact - you won't notice any difference.
(3) Linux has shared libraries [.so] and the Mac has dynamic libraries [.dylib]. They all work on the same principles.