Re: dynamic use dll or so file error!

2013-11-28 Thread master
On Wednesday, 27 November 2013 at 15:09:45 UTC, evilrat wrote: On Wednesday, 27 November 2013 at 14:33:21 UTC, master wrote: I want to access dynamic libraries on different platforms, but I still can not get the function, so do not write it? Where is wrong? runtime.loadlibrary is not yet

Re: dynamic use dll or so file error!

2013-11-28 Thread master
On Wednesday, 27 November 2013 at 15:09:45 UTC, evilrat wrote: On Wednesday, 27 November 2013 at 14:33:21 UTC, master wrote: I want to access dynamic libraries on different platforms, but I still can not get the function, so do not write it? Where is wrong? runtime.loadlibrary is not yet

Re: dynamic use dll or so file error!

2013-11-28 Thread master
On Thursday, 28 November 2013 at 11:33:05 UTC, master wrote: On Wednesday, 27 November 2013 at 15:09:45 UTC, evilrat wrote: On Wednesday, 27 November 2013 at 14:33:21 UTC, master wrote: I want to access dynamic libraries on different platforms, but I still can not get the function, so do not

dynamic use dll or so file error!

2013-11-27 Thread master
I want to access dynamic libraries on different platforms, but I still can not get the function, so do not write it? Where is wrong? import core.runtime; import std.stdio; import std.string; version(Windows) { import std.c.windows.windows; } else version(Posix) { import

Re: dynamic use dll or so file error!

2013-11-27 Thread evilrat
On Wednesday, 27 November 2013 at 14:33:21 UTC, master wrote: I want to access dynamic libraries on different platforms, but I still can not get the function, so do not write it? Where is wrong? runtime.loadlibrary is not yet finished. use dlopen/LoadLibrary instead(forgot about loading D