Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
How to pass >255 chars to a VFP COM Object?
Greetings all -
I've been out of the VFP world for a while as most of my projects lately have been ColdFusion and SQL Server, so maybe I'm missing something obvious...
I created a simple VFP7 COM object that takes a character string as a parameter and parses it into various parts. Works fine for short strings, but it crashes with "String too long to fit" when passed more than 255 characters.
I'm obviously hitting the internal 255 limit for character data types, but I would have thought that with all the wiz-bang COM improvements to VFP7 that MSFT would have given us some more flexibility here...maybe it's here and I'm just missing it?
TIA,
Jay
Suivant
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