Re: Slow RECEIVE PACKET for serial

2018-01-02 Thread Jeffrey Kain via 4D_Tech
FWIW, it's easy to write a RECEIVE PACKET wrapper using RECEIVE BUFFER. In an outer loop, periodically call RECEIVE BUFFER and append that data into a process text variable which is the buffer that your RECEIVE PACKET variable will read from. Once you get this done, then you can easily support

Re: Slow RECEIVE PACKET for serial

2018-01-02 Thread Keisuke Miyako via 4D_Tech
receive buffer only accepts BLOB (unlike receive packet which respects use character set) and that the standard distribution of v16 on Mac is 64-bit and therefore forced to run unicode mode, so the tip to use non-unicode mode for receive buffer is no longer an option (unless you select 4D 32-bit

Re: Securing ODBC Connections?

2018-01-02 Thread Keisuke Miyako via 4D_Tech
keep in mind also that an incomplete authentication method will reject the connection. the code should 1. explicitly call "change current user" and 2. return "true" http://doc.4d.com/4Dv16R4/4D/16-R4/On-SQL-Authentication-database-method.301-3316871.en.html in other words, an empty "on sql auth

IMAP_Download Command and Email Attachments

2018-01-02 Thread John S. Poteat via 4D_Tech
Hi Everyone, Currently in one of our client’s application we are using the IMAP_Download Command to download emails from a IMAP Server to be brought into the 4D Application. One issue we have ran into is that if there is an attachment with the email and the attachment’s filename contains a semi

Re: Securing ODBC Connections?

2018-01-02 Thread Chuck Miller via 4D_Tech
Not sure we need more info. Is the ODBC driver 32 or 64 bit. If you put a trace in sql authentication method and see what happens. Can you connect from excel? Access is a little out of the ordinary for me have never tried to access 4D from it Regards Chuck Sent from my iPhone > On Jan 2, 201

Re: Securing ODBC Connections?

2018-01-02 Thread Alan Tilson via 4D_Tech
Hello Chuck & everyone, One of my users is attempting to connect to 4D Server v13.6 from Access. He has setup the ODBC driver which seems to work fine, entering a user name and password and 'connecting' to 4d. However when trying to run a query or open a 4D table in Access, he gets the following e

Re: Slow RECEIVE PACKET for serial

2018-01-02 Thread Ken Daniel via 4D_Tech
Tony, did you get your issue resolved with Receive Packet? After upgrading to v16.3 my Receive Packet stopped working if the database is opened with Unicode Mode checked in the Compatibility Settings (error -9990 Time out error), but works if the database is opened with Unicode unchecked. I'm still

Re: SET WINDOW RECT v14 / v16

2018-01-02 Thread Chip Scheide via 4D_Tech
Jerremy, are the object(s) on the page you are switching to set to automatically resize/move? If so - maybe this is the problem? Chip On Sat, 30 Dec 2017 11:20:21 +, Jeremy Roussak via 4D_Tech wrote: > On 28 Dec 2017, at 15:57, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com> wrote: