|
From: stephan b. <st...@s1...> - 2004-12-19 14:05:09
|
i was just bitten by this:
factory.addPlugin("psql_mysql.so");
works, but:
factory.addPlugin("psql_mysql");
doesn't.
That same problem shows up in C#'s approach to linking to DLLs. :(
IMO, the .so is platform-specific, and therefor doesn't belong there.
The module loader should know the extension for the platform it's on
and automatically append it, if needed. See
s11n.net/download/#class_loader, src/path_finder.?pp for a class which
implements that behaviour. It should be possible to drop that (or
equivalent) right into the module loader's search routine. See
src/class_loader.cpp, and grep for ".dll" to see how it's used.
:)
--
----- st...@s1... http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts
|