Mirror of
forum.nim-lang.org
index
2439 :: Nim how to write plug-ins to achieve dynamic loading?
[2016-08-05T04:41:38+02:00]
View Orginal
lihf8515
(orginal)
[2016-08-05T04:41:38+02:00]
view original
Nim how to write plug-ins to achieve dynamic loading?
flyx
(orginal)
[2016-08-05T08:59:44+02:00]
view original
Compile your plugins with
--app:lib
, then use the
dynlib
module in the main program to load them at runtime.
filwit
(orginal)
[2016-08-05T10:31:34+02:00]
view original
A short code example
here
.