in reply to Win32::OLE, cuts off at 255 Chars...

Loks like you have encountered a bug in Win32::OLE

You might try Win32::ODBC which comes standard with AS builds.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Timing (and a little luck) are everything!

  • Comment on Re: Win32::OLE, cuts off at 255 Chars...

Replies are listed 'Best First'.
Not a Bug in Perl
by maa (Pilgrim) on Jan 31, 2004 at 19:42 UTC

    Hi,
    This isn't a bug in Perl, it's a Win32 problem. a "String" in the Win32 world is (up to) 255 characters terminated by \0 (as in a C string). You'll find this is a limitation of a "Text" field in MS Access, too.

    You can also demonstrate this "environment variable feature" in IIS if you enter a key=value in a query string where the value has more than 255 characters... it gets chopped and Env variables get stuck in... Neat!

    HTH - Mark