Set_Property/PS_Set_Property (OpenInsight Specific)
At 09 DEC 1997 07:09:15AM Carl Pates Sprezzatura wrote:
What's the maximum variable size Set_Property/PS_Set_Property accepts as the 3rd parameter?
I came across a list of keys from Btree.Extract that was 65527 bytes in length, and when I tried to store this in a '@' property I got a 'Variable Exceeds Max Length' from PS_Set_Property…so what's being added?
Just curious…(I need to know what to truncate it down to basically)
Thanx,
Carl Pates
Sprezzatura Ltd
At 09 DEC 1997 07:42AM Oystein Reigem wrote:
Carl,
What's the difference between Set_Property and PS_Set_Property? (I tried to ask somebody in the know recently, but unfortunately he didn't follow up the conversation.)
- Oystein -
At 09 DEC 1997 06:41PM Andrew P McAuley wrote:
There are real properties and pseudo properties. PS_SetProperty is just a teeny bit quicker than Set_Property for the properties handled by Presentation Server
At 09 DEC 1997 08:58PM Cameron Revelation wrote:
Oystein,
What's the difference between Set_Property and PS_Set_Property?
1) Set_Property is documented and supported, PS_Set_Property is not.
2) PS_Set_Property handles a subset of the properties that Set_Property handles.
The Set_Property function is a shell that directs various properties to the functions that implement those properties. A few properties are handled in Set_Property itself. One of the functions that Set_Property uses to implement certain properties is PS_Set_Property.
Cameron Purdy
Revelation Software
At 09 DEC 1997 09:00PM Cameron Revelation wrote:
Carl,
What's the maximum variable size Set_Property/PS_Set_Property accepts as the 3rd parameter?
All three parrameters must total at most 65526. This is related to how they are packed for IPC from OE to PS.
Cameron Purdy
Revelation Software