Subject | RE: [IBO] IB_Connection1.AlterUser Problem |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-08-01T14:18:49Z |
At 02:25 PM 01-08-02 +0100, you wrote:
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
>I could be wrong because my Delphi is very rusty, but isn't NULL in DelphiNo, Null and Nil are not the same. Nil dereferences memory used by a
>NIL ?
>I thought NULL was a C (or C++) thing only.
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