Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-18 Thread Procházka Lukáš Ing .
Hello Akira, I tested ConTeXt run with my DLL module and all works fine. Thank you again! Best regards, Lukas On Sun, 09 Apr 2017 00:23:48 +0200, Akira Kakuto wrote: Any way to re-enable user DLL loading into ConTeXt, even in the future, would be appreciated...

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-11 Thread Procházka Lukáš Ing .
Hello Akira, On Sun, 09 Apr 2017 00:23:48 +0200, Akira Kakuto wrote: Any way to re-enable user DLL loading into ConTeXt, even in the future, would be appreciated... I have just uploaded dynamically linked luatex and luajittex. great news, I'll try it in the

[NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-08 Thread Akira Kakuto
Any way to re-enable user DLL loading into ConTeXt, even in the future, would be appreciated... I have just uploaded dynamically linked luatex and luajittex. I hope that you can again load your lua DLL modules in a few days. Further, standard C functions can be used in ffi without loading a C

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-06 Thread Hans Hagen
On 4/6/2017 11:03 AM, Procházka Lukáš Ing. wrote: Hello Akira, you mention possibility of --shell-escape at http://tug.org/pipermail/luatex/2017-March/006410.html. How exactly do you mean to combine "ffi" and "--shell-escape" to work with latest ConTeXt/LuaTeX? (I tried (rather

[NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-06 Thread Akira Kakuto
How exactly do you mean to combine "ffi" and "--shell-escape" to work with latest ConTeXt/LuaTeX? In usual luatex, ffi needs --shell-escape, since ffi is dangerous from the point of view of the security. As you know, ConTeXt allows --shell-escape, so the following works with context test.tex.

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-06 Thread Procházka Lukáš Ing .
Hello Akira, you mention possibility of --shell-escape at http://tug.org/pipermail/luatex/2017-March/006410.html. How exactly do you mean to combine "ffi" and "--shell-escape" to work with latest ConTeXt/LuaTeX? (I tried (rather amateurishly) to run "context --shell-escape

[NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Akira Kakuto
I encountered problem loading WinCon.dll (a module that I wrote and I've been using for several years) In the new lua(jit)tex, one cannot use DLL modules. See my mail in http://tug.org/pipermail/luatex/2017-March/006410.html http://tug.org/pipermail/luatex/2017-March/006413.html Reason: I

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Hans Hagen
On 4/5/2017 5:49 PM, Procházka Lukáš Ing. wrote: Hello, On Wed, 05 Apr 2017 17:02:01 +0200, Hans Hagen wrote: On 4/5/2017 4:12 PM, Procházka Lukáš Ing. wrote: Just to ensure that I'm not trying to use 32b WinCon.dll with 64b Ctx/LuaTeX... os.platform will it retrieve OS

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Procházka Lukáš Ing .
Hello, On Wed, 05 Apr 2017 17:02:01 +0200, Hans Hagen wrote: On 4/5/2017 4:12 PM, Procházka Lukáš Ing. wrote: Just to ensure that I'm not trying to use 32b WinCon.dll with 64b Ctx/LuaTeX... os.platform will it retrieve OS platform or LuaTeX (= executable) platform?

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Hans Hagen
On 4/5/2017 4:12 PM, Procházka Lukáš Ing. wrote: Just to ensure that I'm not trying to use 32b WinCon.dll with 64b Ctx/LuaTeX... os.platform Which compiler is used to build LuaTeX for Windows? probably the regular microsoft one Hans

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Procházka Lukáš Ing .
Hello, On Wed, 05 Apr 2017 15:06:08 +0200, Hans Hagen wrote: On 4/5/2017 2:29 PM, Procházka Lukáš Ing. wrote: Strange thing is that WonCon.dll with Ctx used to work for several years... What is the problem now? Probably an updated compiler ... after all, vs 2008 is 8 years

Re: [NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Hans Hagen
On 4/5/2017 2:29 PM, Procházka Lukáš Ing. wrote: Strange thing is that WonCon.dll with Ctx used to work for several years... What is the problem now? Probably an updated compiler ... after all, vs 2008 is 8 years old which is real old in computer times). Maybe you miss another ancient dll

[NTG-context] Problem loading a DLL with the latest Ctx beta

2017-04-05 Thread Procházka Lukáš Ing .
Hello, I encountered problem loading WinCon.dll (a module that I wrote and I've been using for several years): lua error > lua error on line 3 in file d:/Lukas/Jobs/D10-036/10-037.SO/Geom.Smo/~/WinTest.mkiv: error loading module 'WinCon' from file 'd:\Lukas\Lua\52\WinCon.dll':