Search found 71 matches

by msu
Sun May 05, 2019 5:39 pm
Forum: Showcase
Topic: PostgreSQL for Hollywood
Replies: 6
Views: 9262

Re: PostgreSQL for Hollywood

Here is a new update. Version 1.0 beta 1 (04.05.2019) BLOBs (Binary Large Objects) are supported. PG: OpenDatabase has been redesigned. The network connection will now be opened by the function itself. The documentation has been adapted and expanded. Please note: The download location has changed. :...
by msu
Sat May 04, 2019 9:10 pm
Forum: Hollywood bugs
Topic: ByteLen() and Unicode
Replies: 2
Views: 2566

Re: ByteLen() and Unicode

I should have looked at the utf8 table before. :oops:
Only from position 128, the characters are 2 bytes in size ....
by msu
Sat May 04, 2019 3:03 pm
Forum: Hollywood bugs
Topic: ByteLen() and Unicode
Replies: 2
Views: 2566

ByteLen() and Unicode

Under Windows10 x64:

Code: Select all

SetDefaultEncoding(#ENCODING_UTF8, #ENCODING_UTF8)
a$ = "H"
DebugPrint(ByteLen(a$))
Normally, the result should be 4 bytes.

According to ByteLen, a$ is only 1 byte in size. :?:
by msu
Wed May 01, 2019 11:02 am
Forum: Showcase
Topic: PostgreSQL for Hollywood
Replies: 6
Views: 9262

Re: PostgreSQL for Hollywood

Hello p-OS I likely will give it a try. Would be nice. The more people test, the better the library becomes. Your documentation is good ,too. But maybe you'd like to add the output of your examples in the tutorial section ? Good idea. I will do with the next version. I wonder why you decided to manu...
by msu
Tue Apr 30, 2019 9:26 pm
Forum: General programming
Topic: Problem with ReceiveData
Replies: 24
Views: 15005

Re: Problem with ReceiveData

Thank you!
by msu
Sun Apr 28, 2019 5:39 pm
Forum: Showcase
Topic: PostgreSQL for Hollywood
Replies: 6
Views: 9262

PostgreSQL for Hollywood

The library allows Hollywood programs to communicate with PostgreSQL servers. It should work with all supported operating systems. I tested with Windows10, Android and AmigaOS3.9. The current version is still in the alpha stage. Download Version 1.0 alpha 2: https://drive.google.com/open?id=1YF0_std...
by msu
Wed Apr 24, 2019 12:14 pm
Forum: General programming
Topic: Problem with ReceiveData
Replies: 24
Views: 15005

Re: Problem with ReceiveData

Works well. :D
by msu
Tue Apr 23, 2019 6:16 pm
Forum: General programming
Topic: Problem with ReceiveData
Replies: 24
Views: 15005

Re: Problem with ReceiveData

Hi plouf, then you must first ReceiveData(id, #RECEIVEBYTES, 5) ; receive 5 bytes then ReceiveData(id,#RECEIVEBYTES, your_calculated_amount_of_bytes) I had already tried this solution. Had I programmed correctly, that would have worked. :oops: Here is my new code: Function PG:Receive(ConnectionID) L...
by msu
Mon Apr 22, 2019 9:51 pm
Forum: General programming
Topic: Problem with ReceiveData
Replies: 24
Views: 15005

Re: Problem with ReceiveData

FORGET hollywood if you request "somethink" in SQL server, how do you know the amount of data is going to be send ? That's the problem. The amount of data is variable. how does the "other" languange end communication ? based on what criteria ?! This is not a problem. The first b...
by msu
Mon Apr 22, 2019 9:23 pm
Forum: General programming
Topic: Problem with ReceiveData
Replies: 24
Views: 15005

Re: Problem with ReceiveData

Here's an example: Server: CreateServer(1,2900) Function p_ConnectFunc(msg) Switch(msg.action) Case "OnDisconnect": CloseConnection(msg.id) Case "OnConnect": SendData(msg.clientid,"Hallo Klient") EndSwitch EndFunction InstallEventHandler({OnConnect = p_ConnectFunc, OnDi...