Strange problem with v16 and Launch External Process in a component

2017-12-04 Thread Adrian Boone via 4D_Tech
Hi all, We have a component which uses Launch External Process to call an accountancy package (Moneyworks) via the command line (Windows and Mac), and have just recompiled it for v16 (that's another story...). Now, when any component methods which use LEP (i.e. most of them) are called from a

Re: Strange problem with v16 and Launch External Process in a component (solved - user error)

2017-12-04 Thread Adrian Boone via 4D_Tech
g mode. E.g. LAUNCH EXTERNAL PROCESS($cmd;$in;$out;$err) Lots of bugs have been fixed since 16.0. Have you tried 16.2? John DeSoi, Ph.D. On Dec 4, 2017, at 10:36 AM, Adrian Boone via 4D_Tech <4d_tech@lists.4d.com> wrote: We have a component which uses Launch External Process to ca

Broken pipe error message when quitting 4D server service

2018-02-07 Thread Adrian Boone via 4D_Tech
Hi all, We've been getting this message on a lot of our installation when we try to stop the 4D service - "Windows could not stop the 4D Server service on Local Computer. Error 109: The pipe has been ended.". We're using 4D v15R5 and it seems to happen on relatively recent versions of Windows

Server crash in MSVCR120.dll - help with debugging dump file

2018-06-25 Thread Adrian Boone via 4D_Tech
Hi all, Recently we've had server crashes on two customer sites with our application (built with 4D v15R5), and in both cases the Windows event log is pointing the finger at MSCVR120.dll (version 12.0.21005.1), with an exception code of 0xc409. I have a Windows minidump file from one of

Re: ORDA - NOT(IN)

2020-03-03 Thread Adrian Boone via 4D_Tech
That's exactly what I assumed - if the collection is empty, you'd expect that "not in collection" would return everything, but in my experience (v17.1) it returns nothing! The workaround I have for now is to add a dummy element to the collection and that works as expected. In my case it's a col

Unexpected entity selection behaviour when deleting and creating records

2023-02-02 Thread Adrian Boone via 4D_Tech
Hi, ! recently discovered this while investigating a particularly transient bug => If I delete a record which was part of an entity selection and then create a new one, that replaces the deleted one in the entity selection. I can't see anything in the developer docs which explains this, but