Re: How to set up a library?

2020-12-31 Thread Curry Kenworthy via use-livecode
Ben: > What is the best way to structure a library these days? Flashback to an interesting conversation, when LiveCode Ltd (or RunRev Ltd) asked me, "what is a library?" Not kidding; real question. It's like Newton Ltd asking you, "what is gravity?" That opened my eyes to how libraries

Re: How to set up a library?

2020-12-31 Thread Alex Tweedly via use-livecode
On 31/12/2020 17:12, Bob Sneidar via use-livecode wrote: Setting the behavior of something is a one time thing. Start Using is something that has to be done every time a stack is opened, unless another stack in the IDE has done so. Doing it more than once has no effect, other than pushing

Re: LC & Mac M1 Chip

2020-12-31 Thread Marty Knapp via use-livecode
I figured it was good, but thanks for letting us know. Marty >>> On Dec 30, 2020, at 7:07 PM, Roger Guay via use-livecode >>> wrote: >>> >>> Yes, I just tried it and it works fine! I’m happy to try yours out if you >>> wish?? >>> >>> Roger ___

RE: How to set up a library?

2020-12-31 Thread chipsm themartinz.com via use-livecode
I actually have a folder that I created called "myLibraries". You just need to put that folder into the path so that your application can see it. Sincerely, Clarence Martin Email: chi...@themartinz.com Phone: 626 6965561 -Original Message- From: use-livecode On Behalf Of Ben

Re: How to set up a library?

2020-12-31 Thread Ben Rubinstein via use-livecode
Thanks for responding Bob. Apologies for the confusion, I wasn't suggesting adding it in the actual application bundle; I was wondering whether there is a corresponding location in what used to be the "My LiveCode" folder in Documents. I.e. in that folder on my machine I see subfolders

Re: Server error? SOLVED

2020-12-31 Thread Bob Sneidar via use-livecode
Yup. I said try replacing the older library with the newer one. You would have had to do that in the standalone. I didn’t know there were two versions, but it seemed obvious there must have been. Bob S On Dec 31, 2020, at 9:15 AM, Klaus major-k via use-livecode

Re: Threads in LC

2020-12-31 Thread Bob Sneidar via use-livecode
You can also try using callbacks, although the callback will not get processed until the next idle message (script execution termination or wait with messages). Bob S On Dec 31, 2020, at 8:53 AM, Rick Harrison via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hi Jerry, What

Re: How to set up a library?

2020-12-31 Thread Bob Sneidar via use-livecode
BTW you may want to consider inserting anything with a mouseUp handler in the front, if you want every mouseUp to be trapped. If you only want the library’s mouseUp to be triggered “on demand” then insert into back and then pass mouseUp to trigger your library handler (assuming mouseUp is not

Re: Server error? SOLVED

2020-12-31 Thread Klaus major-k via use-livecode
Hi Bob, > Am 31.12.2020 um 18:01 schrieb Bob Sneidar via use-livecode > : > > Hey, what I said! :-) oh, really? Sorry must have missed that. :-( Anyway, a happy (and better) new year, everybody! > Bob S > > On Dec 31, 2020, at 3:08 AM, Klaus major-k via use-livecode >

Re: How to set up a library?

2020-12-31 Thread Bob Sneidar via use-livecode
Trouble with putting a library in the Livecode libraries folder is every time you upgrade Livecode, those may get deleted. This is especially true for OS X, where those libraries are in the app bundle. I would not put a library in that location. Also, you do not have to specify the path. Add

Re: Server error? SOLVED

2020-12-31 Thread Bob Sneidar via use-livecode
Hey, what I said! :-) Bob S On Dec 31, 2020, at 3:08 AM, Klaus major-k via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hi all, we could finally solve the problem by copying the revsecurity.dll from LC 9 to the LC 5.x runtime folder! 8-) I really had no idea that they were

Re: Threads in LC

2020-12-31 Thread Rick Harrison via use-livecode
Hi Jerry, What version of Raspberry PI are you using? If you are using an older version of Raspberry PI just replacing it with a newer version might be your best work around. The older PI’s are pretty slow. Have you looked into Banana PI for instance? While LC isn’t multi-threaded there may

Re: LC & Mac M1 Chip

2020-12-31 Thread Paul Dupuis via use-livecode
On 12/31/2020 8:22 AM, John Balgenorth via use-livecode wrote: I thought the Mac M1 Chip has Rosetta or something like that allowing most 64 bit programs to still run so I was thinking any 64 bit version of LC would still work. You can search the Livecode Quality center for Big Sur bugs. As I

Re: LC & Mac M1 Chip

2020-12-31 Thread John Balgenorth via use-livecode
I thought the Mac M1 Chip has Rosetta or something like that allowing most 64 bit programs to still run so I was thinking any 64 bit version of LC would still work. JB > On Dec 31, 2020, at 5:15 AM, Paul Dupuis via use-livecode > wrote: > > You need to be on macOS Big Sur for the new

Re: LC & Mac M1 Chip

2020-12-31 Thread Paul Dupuis via use-livecode
You need to be on macOS Big Sur for the new hardware (I think). There are bugs in LC vs Big Sur that are only fixed in LC 9.6.2rc1 so you probably want to rebuild any Standalones using that version of LC On 12/30/2020 10:29 PM, John Balgenorth via use-livecode wrote: Should any LC

Threads in LC

2020-12-31 Thread JeeJeeStudio via use-livecode
Hi, is it possible to assign threads in LC and why not? In python you can assign threads, not that i needed that with python, but it is possible. I'm playing with a stepper motor (for a while now) on a raspberry and with python it runs so smooth, with lc it's a different story. It runs,

Re: How to set up a library?

2020-12-31 Thread Ben Rubinstein via use-livecode
Thanks Alex and Bob for your responses. And if I make it a script-only stack, is there a clever place to store it - e.g. the standard distribution libraries are in .../Tools/Toolset/libraries/ Is there a convention or location which would allow me to reference the library without having to

Re: Server error? SOLVED

2020-12-31 Thread Klaus major-k via use-livecode
Hi Mark, > Am 31.12.2020 um 12:30 schrieb Mark Waddingham via use-livecode > : > > On 2020-12-31 11:08, Klaus major-k via use-livecode wrote: >> Hi all, >> we could finally solve the problem by copying the revsecurity.dll from >> LC 9 to the LC 5.x runtime folder! 8-) >> I really had no idea

Re: Server error? SOLVED

2020-12-31 Thread Mark Waddingham via use-livecode
On 2020-12-31 11:08, Klaus major-k via use-livecode wrote: Hi all, we could finally solve the problem by copying the revsecurity.dll from LC 9 to the LC 5.x runtime folder! 8-) I really had no idea that they were compatible!? Nevertheless I will write to the mothership next week, just to get

Re: Server error? SOLVED

2020-12-31 Thread Klaus major-k via use-livecode
Hi all, we could finally solve the problem by copying the revsecurity.dll from LC 9 to the LC 5.x runtime folder! 8-) I really had no idea that they were compatible!? Nevertheless I will write to the mothership next week, just to get to know why everythings works fine in the IDE but not in a

Re: Livecode Builder - passing lcs string to C functions

2020-12-31 Thread Dan Brown via use-livecode
Thanks so much for this Trevor, I can now retrieve requests from and respond to a virtual threaded http server which is nice. Now trying to work out how not to block the engine when the function that calls the server waits for a new request to come in i..e callback functions purely within lcb Dan

Re: Server error?

2020-12-31 Thread Klaus major-k via use-livecode
Hi Bob, > Am 31.12.2020 um 01:53 schrieb Bob Sneidar via use-livecode > : > > Just a shot in the dark, when you are working in the IDE, do you have a newer > version of Livecode running? no. > Bob S > ... > Am 30.12.2020 um 23:59 schrieb Bob Sneidar via use-livecode >