Re: SetString
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 10:06:28 -0600
Hans-Peter Diettrich wrote:
J French wrote:D4 does automatic conversion it creates a new WideString up to the
position of the first #0#0
Unfortunately I need an substring, not everything up to the end :-(
If you don't have SetString, you can also call the SysAllocStringLen API function. It returns a BStr, which is really a WideString. I'm not sure the return type is declared correctly in Windows.pas, though, so you might need some creative type-casting, or just redeclare the function.
--
Rob
.
- References:
- SetString
- From: Hans-Peter Diettrich
- Re: SetString
- From: J French
- Re: SetString
- From: Hans-Peter Diettrich
- SetString
- Prev by Date: Re: for loop (c-lang)
- Next by Date: Re: for loop (c-lang)
- Previous by thread: Re: SetString
- Index(es):