Re: [fpc-pascal] Delphi may have Linux support next year

2016-08-30 Thread Snorkl e
Big deal, we can do all that and more with Lazarus and FPC On Aug 30, 2016 12:16 AM, "Anthony Walter" wrote: > I don't know it's been posted here yet, but over at the Embarcadero > community website a new roadmap has been published. > >

Re: [fpc-pascal] what is the possible cause of EPrivilege Privileged instruction ?

2016-10-26 Thread Snorkl e
Your not using teventobject in your threads are you? There is a bug in the RTL which could cause weird issues with threads if you are using teventobject.create. On Oct 26, 2016 10:58 AM, "Dennis" wrote: > I have a multi threaded program which executes a list of tasks in

Re: [fpc-pascal] teventobject.create fails with error 161

2016-10-14 Thread Snorkl e
Hi Sven, Yes I can try that this weekend sometime and will respond with results,. Thanks for taking a look at that  On Oct 14, 2016 3:41 PM, "Sven Barth" <pascaldra...@googlemail.com> wrote: > Am 14.10.2016 20:31 schrieb "Snorkl e" <tony.cad...@gmail.com>:

Re: [fpc-pascal] teventobject.create fails with error 161

2016-10-15 Thread Snorkl e
1 schrieb "Snorkl e" <tony.cad...@gmail.com>: > > > > Yep, I used heaptr, my code is clean. > > Sometimes it would happen after 3 connects/disconnects and sometimes > after 500. > > With the GUID as the event name it has never happened again and I really > str

Re: [fpc-pascal] teventobject.create fails with error 161

2016-10-14 Thread Snorkl e
? Or could it be a bug in FPC? On Oct 14, 2016 9:23 AM, "Jonas Maebe" <jonas.ma...@elis.ugent.be> wrote: > On 14/10/16 02:43, Snorkl e wrote: > >> Anyway, I am using a third party SFTP server lib and it creates a thread >> inherited from tthread and in the crea

[fpc-pascal] teventobject.create fails with error 161

2016-10-13 Thread Snorkl e
Hi, Just wondering if anyone has any ideas. I am using FPC 3.0 by the way. Anyway, I am using a third party SFTP server lib and it creates a thread inherited from tthread and in the create event of the tthread descendant it does this: (It uses this thread to read and write data on the socket)

Re: [fpc-pascal] teventobject.create fails with error 161

2016-10-14 Thread Snorkl e
Hi Sven, Yes the events get destroyed in the threads destructor. I verified they were being freed up. It would usually happen when lots of connect disconnects happened in a short time. Once that error 161 popped it could not be recovered from, all new connections would fail on the

Re: [fpc-pascal] teventobject.create fails with error 161

2016-10-14 Thread Snorkl e
getlasterror and getlastoserror. I do appreciate the comments :-) On Oct 14, 2016 12:28 PM, "Tomas Hajny" <xhaj...@hajny.biz> wrote: > On Fri, October 14, 2016 17:44, Snorkl e wrote: > > > Hi, > > > Hi, actually getlasterror only applies to the calling

Re: [fpc-pascal] teventobject.create fails with error 161

2016-10-14 Thread Snorkl e
ejuto" <joshy...@gmail.com> wrote: > El 14/10/2016 a las 20:11, Snorkl e escribió: > > Since I solved it by giving the name param a giud, the next thing to ask >> is why does teventobject fail kind of silently when the name parm is >> blank over time? >>

Re: [fpc-pascal] teventobject.create fails with error 161

2016-10-15 Thread Snorkl e
Sven, Bug report added: http://bugs.freepascal.org/view.php?id=30747 Have a great weekend :-) On Sat, Oct 15, 2016 at 3:30 AM, Sven Barth <pascaldra...@googlemail.com> wrote: > Am 15.10.2016 09:52 schrieb "Snorkl e" <tony.cad...@gmail.com>: > > > > Sven

Re: [fpc-pascal] teventobject.create fails with error 161

2016-10-15 Thread Snorkl e
Sven, Just a fyi, the mantis bug report form would not let me pick a Severity <http://bugs.freepascal.org/view_all_set.php?sort=severity=DESC=2> so its showing up as minor. On Sat, Oct 15, 2016 at 10:36 AM, Snorkl e <tony.cad...@gmail.com> wrote: > Sven, > Bug r

Re: [fpc-pascal] FPC clean room project

2017-01-03 Thread Snorkl e
They might with a change of ownership, who knows these days, but the fact they did use it in the past would not look good for any litigation from some bottom feeder. On Jan 3, 2017 4:36 PM, "Sven Barth" wrote: > Am 03.01.2017 19:02 schrieb "Dmitriy Pomerantsev"

Re: [fpc-pascal] FPC clean room project

2017-01-02 Thread Snorkl e
My question is why does this person even care to make such accusations? For one some of the routines in the run time are extremely generic and could easily be written exactly the same way and only way to prove it is if comments made by original coder are still in place. Sounds like a waste of

Re: [fpc-pascal] FPC clean room project

2017-01-02 Thread Snorkl e
Maybe it's Niklaus Wirth, could be he's broke and decided it's time to collect license fees like Microsoft does with Android LOL just kidding. On Jan 2, 2017 4:07 PM, "Sven Barth" wrote: Am 02.01.2017 19:15 schrieb "Santiago A." : >

Re: [fpc-pascal] Running Freepascal programs on other computers

2017-06-28 Thread Snorkl e
Are you by chance running it from a shared smb folder or something like that? I run all my fpc apps on Windows 10, but from a local drive and don't get warnings. On Jun 28, 2017 11:56 AM, "James Richters" wrote: When I run any freepascal program that I compiled

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Snorkl e
Synapse and fpc works great with serial port, I have a daemon I wrote 4 years ago that reads serial data from a phone PBX runs 24X7 and never an issue. On Jun 18, 2017 11:17 AM, "Bo Berglund" <bo.bergl...@gmail.com> wrote: > On Sun, 18 Jun 2017 09:46:06 -0500, Snorkl e >

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-18 Thread Snorkl e
Couldn't you read the serial port data and then stream it with Synapse to the remote location? You can use Synapse to read the serial port data and sent via TCP/IP. On Jun 18, 2017 2:05 AM, "Bo Berglund" wrote: > I need to implement a serial to TCP gateway in order to

Re: [fpc-pascal] First pas2js public release

2017-12-17 Thread Snorkl e
Wow, nice job  On Dec 17, 2017 2:29 AM, "Michael Van Canneyt" wrote: > > > On Sun, 17 Dec 2017, Sven Barth via fpc-pascal wrote: > > Am 17.12.2017 08:01 schrieb "code dz" : >> >> good news & thanks for the effort >> >> is it similar to Emscripten ?

Re: [fpc-pascal] FreePascal and MySQL ?

2017-11-20 Thread Snorkl e
You don't need to use a stream just do Dataset.fieldbyname('somecolumn').asstring:=mystringlist.text On Nov 20, 2017 10:02 AM, "Terry A. Haimann" wrote: > Hello, > > This is probably a dumb question. But I have data in a tstringlist that > I want to upload into a MediumText