Re: Transferring binary data to a function of a COM object
- From: "Helge Kruse" <Helge.Kruse-nospam@xxxxxxx>
- Date: Thu, 3 Nov 2005 12:52:28 +0100
"Nick" <Nick@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6DF9CBD4-B35C-4BEF-A8DE-7748122C66FE@xxxxxxxxxxxxxxxx
> parameter. This function receives a truncated value of this parameter,
> i.e.
> this value is truncated at the embedded null charaters.
[...]
> What is wrong with my COM object?
Probably your design.
Even if you find another API that uses a string (BSTR) as a container for
binary data, it's not the best choice. You can pass binary data as
conformant arrays through your interfaces. It works with DCOM too.
/Helge
.
- Prev by Date: List of reserved DISPIDs
- Next by Date: Re: List of reserved DISPIDs
- Previous by thread: List of reserved DISPIDs
- Next by thread: Re: Transferring binary data to a function of a COM object
- Index(es):
Relevant Pages
|