Re: Newby questions #2: ffi.load, ffi.metatype, ffi.C

  • From: "Claire Lewis" <claire_lewis@xxxxxxxxxxx>
  • To: <luajit@xxxxxxxxxxxxx>
  • Date: Sun, 1 Jul 2012 22:22:57 +0930

It cannot automatically load any other DLLs you've given on the
linker command line, because AFAIK there's no (easy) way to get
their names.

You can use EnumProcessModules() to get a list of all DLLs currently loaded into a process, but this will include any dynamically loaded ones (which may, or may not, be desirable depending on what the host app is doing...)

- Claire.

Other related posts: