Information générale
Catégorie:
Fonctions Windows API
I'm sure such a limit exists for ActiveX. This limit is not internal to the object, but in the OLE interface.
Vlad
>Hi Vlad,
>
> I will test it again to be sure, but when I was working with a COM object the other day I was able to store a string much bigger than 255 characters. When using COM objects they recommend using the BSTR data type to pass strings and then storing them inside the COM object as CComBSTR data members. I don't think there is a 255 limitation as the CComBSTR objects dynamically allocate space on the local heap when you assign the passed BSTR.
>
>Darrel
>
>>Please correct me if I'm wrong, but I think there's a limitation for strings at 255 chars.
>>
>>Vlad
>>
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement