Subject RE: [IBO] IB_Connection1.AlterUser Problem
Author Helen Borrie (TeamIBO)
At 02:25 PM 01-08-02 +0100, you wrote:
>I could be wrong because my Delphi is very rusty, but isn't NULL in Delphi
>NIL ?
>I thought NULL was a C (or C++) thing only.

No, Null and Nil are not the same. Nil dereferences memory used by a
Delphi object.We are trying to store the NULL state in the API user
security structure (in lieu of a value).

I've bumped into this null variant problem before...only a variant can
accept NULL...but the fields in this structure are defined as strings. The
problem is that Delphi passes "empty strings" around as placeholders for
NULL strings. I'm searching the memory banks for the solution but I'm
still baffled.

I'm not aware that this procedure has any "known issues" relating to Linux
groups. I looked at the source and can't see it doing anything special to
ensure that empty strings get converted to NULLs. Hopefully Jason can look
in on the list again before he heads off for the LADUG event, and throw
some light.


regards,
Helen Borrie (TeamIBO Support)

** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com