Subject | Re: [firebird-support] Empty strings in API |
---|---|
Author | Davinir F Campos Jr |
Post date | 2005-05-20T20:50:03Z |
> I use more Delphi that C, so I am not sure about this ...I think in Delphi you should use NIL (str := nil) to empty pointers or
>
> Can empty string be represented both as
> - pointer to zero
> - zero pointer
> or is the later one illegal ?
>
> I am aksing because isc_dsql_prepare() and isc_dsql_execute_immediate()
> functions crash with access violation when empty statement is passed as zero pointer.
PChar terminators (str := #0) for empty strings.
I'm not sure if the first one will work, can you test it and give the
result, please?
Jr