Re: Shared Object - NOT!

2018-10-20 Thread Keisuke Miyako via 4D_Tech
I prefer to explain it this way: when you pass a New object or New collection to a method (subroutine), that object or collection is shared between the 2 methods, caller and callee, because they are running in the same process. if you execute $1.foo:="bar" in the callee, the object from the

RE: Shared Object - NOT!

2018-10-20 Thread lists via 4D_Tech
Hi Pat, In order to share an object between processes without using an interprocess variable, you must use the "Storage" container/catalog. In your startup: Use(Storage) Storage.TriggerState:= New shared object End use Later in your subsequent code, you assign the contents: $MyTrigger:=

Re: Mac OS 10.14 Mojave and 4D 15

2018-10-20 Thread Balinder Walia via 4D_Tech
+1 to Virtualbox, it is highly configurable and can be automated using simple config files...to setup perfect dev environment, networking etc. Balinder On Sat, 20 Oct 2018 at 22:17, JOHN BAUGHMAN via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Kirk, > > I highly recommend Oracle VirtualBox

Re: Mac OS 10.14 Mojave and 4D 15

2018-10-20 Thread JOHN BAUGHMAN via 4D_Tech
Kirk, I highly recommend Oracle VirtualBox it’s FREE and I have found it far easier to setup and maintain than either VMWAre or Parallels. Oracle does a great job of keeping it updated. Just had an update this morning. I am currently running Windows 2008 Server 32bit and

Re: Help->v11 to v17 Upgrade or New?

2018-10-20 Thread Kirk Brooks via 4D_Tech
Robert, What I was dropping not-so-subtle hints about is working out the interface for the GitHub API, which I found - unwelcoming, to support exporting directly to GitHub from 4D and allowing me to pull from it as well. All the tools for this are already in 4D, it's just a matter of working out

Re: Mac OS 10.14 Mojave and 4D 15

2018-10-20 Thread Kirk Brooks via 4D_Tech
Milan, I really haven't good luck attempting to use VMWare and am not particularly moved to buy Parallels when I had all the parts laying around to come up with a perfectly good solution. If I were making a habit of needing that older system I might take a look at it but this works for what I

Re: Help->v11 to v17 Upgrade or New?

2018-10-20 Thread Robert ListMail via 4D_Tech
Kirk, I think any mechanism that can export 4D code as text (plain text, JSON, XML, etc) can be used via GitHub to at least manage method changes. So, with the new v17r3 we have a native way to share the entire structure which will allow us to use version control. However, the limitations seem

Re: [off] Windows installer recommendation

2018-10-20 Thread Jeremy Roussak via 4D_Tech
Thanks, Pat - that looks as if it will be the bill perfectly. Jeremy > On 20 Oct 2018, at 13:31, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Inno Setup. Been using it for years. Works great and very configurable. And > free :) > > > On Sat, 20 Oct 2018 at 13:23, Jeremy Roussak

Re: Shared Object - NOT!

2018-10-20 Thread Christian Sakowski via 4D_Tech
Hi Pat, > But I get an error because $objTriggerState is undefined. This cannot be true, because you used New shared object. Please use the debugger and check your code. I suppose you are using the latest v17 build and you have dot-notation turned on. -- Grüße/Regards, [heubach-media] |

Re: Shared Object - NOT!

2018-10-20 Thread Pat Bensky via 4D_Tech
That's how the example in the docs is. I've tried it with a process variable - same problem. Pat On Sat, 20 Oct 2018 at 15:52, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com> wrote: > How could it be shared between processes with a name starting with $? > > > > Paul > > > On 20 Oct 2018, at

Re: Shared Object - NOT!

2018-10-20 Thread Paul Lovejoy via 4D_Tech
How could it be shared between processes with a name starting with $? Paul > On 20 Oct 2018, at 15:50, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Well I guess I must be doing something wrong :) > Using v17r3: > > In the Startup method I create a new Shared Object: > >

Shared Object - NOT!

2018-10-20 Thread Pat Bensky via 4D_Tech
Well I guess I must be doing something wrong :) Using v17r3: In the Startup method I create a new Shared Object: *C_OBJECT*($objTriggerState) // 20/10/18 $objTriggerState:=*New shared object*() Subsequently I want to add something to that object. $State:="on" *Use* ($objTriggerState)

Re: [off] Windows installer recommendation

2018-10-20 Thread Pat Bensky via 4D_Tech
Inno Setup. Been using it for years. Works great and very configurable. And free :) On Sat, 20 Oct 2018 at 13:23, Jeremy Roussak via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I have been inveigled into making a Windows version of a Mac 4D > application. I have no experience of Windows

[off] Windows installer recommendation

2018-10-20 Thread Jeremy Roussak via 4D_Tech
I have been inveigled into making a Windows version of a Mac 4D application. I have no experience of Windows programming and very little of using it, but 4D seems to handle pretty much everything to make a working Windows application. I do need an installer, though: the people who will use it

Re: Help->v11 to v17 Upgrade or New?

2018-10-20 Thread Patrick Emanuel via 4D_Tech
Hi Kirk, 4D Tech mailing list wrote > Did I just hear you say something about uploading direct from 4D into > GitHub...  It is not what I understood. He used GitHub to manage his version. But, if you're right, I'm also very interested by this ;-) - Patrick EMANUEL

Re: Elementary question

2018-10-20 Thread Jeremy Roussak via 4D_Tech
Andrew, Thanks. As I’ve written, I solved (or worked round) the problem by renaming the shortcut files to match the names of the destinations, but a hard link would certainly seem to be an alternative. Jeremy > On 16 Oct 2018, at 00:18, Andrew Hickey via 4D_Tech <4d_tech@lists.4d.com> >

Re: Application Metrics

2018-10-20 Thread Robert ListMail via 4D_Tech
Jody, how did your deployed app phone home? Thanks, Robert Sent from my iPhone > On Jul 4, 2018, at 8:38 AM, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > This information with the doctor information removed was sent to our central > server to accumulate.

Re: Mac OS 10.14 Mojave and 4D 15

2018-10-20 Thread Milan Adamov via 4D_Tech
> On Oct 20, 2018, at 01:16, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > On the other hand I spent a couple of hours setting up an external drive as > a boot drive (with Mavericks!) so I can boot an old laptop into that for > working with a v11 db. Just a thought. Why not