* * *

Author Topic: Strange behavior with freepascal and IPC Queue Message  (Read 876 times)

eolandro

  • Newbie
  • Posts: 3
Strange behavior with freepascal and IPC Queue Message
« on: April 18, 2017, 08:59:54 am »
I have two codes one in freepascal and anothe in php. The pascal code creates an IPC Queue and sends one byte in that queue. If the queue already has elements. it does not send any byte. The php code only gets the state of the queue.

But the strange is freepascal can not get the length of the queue(sg_qnum). This value is always zero.
In the other hand the php code gets that value without trouble.

I have no other PC maybe is my installation maybe is my code.

Can you help me test my code?

Thanks

Thaddy

  • Hero Member
  • *****
  • Posts: 4617
Re: Strange behavior with freepascal and IPC Queue Message
« Reply #1 on: April 18, 2017, 11:08:47 am »
Both attachment read like a piece of shit.
Do better.
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

eolandro

  • Newbie
  • Posts: 3
Re: Strange behavior with freepascal and IPC Queue Message
« Reply #2 on: April 18, 2017, 06:28:56 pm »
Both attachment read like a piece of shit.
Do better.

Show me how. Let me see your code. An example.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus