NetTalk Central

Author Topic: is NET:MaxBinData immutable ?  (Read 2390 times)

cwtart

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • CommPay Software
    • Email
is NET:MaxBinData immutable ?
« on: August 31, 2013, 12:12:19 PM »
NET:MaxBinData     equate(16384)   ! Don't change this - Max size of BinData in NetPacketType

Any way to work around this? I am getting a NetWebSource created page that is truncating a script and causing a javasript error.

Chuck

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: is NET:MaxBinData immutable ?
« Reply #1 on: September 01, 2013, 04:14:31 AM »
while the equate is fixed - as it's used to determine a structure size in both the DLL and the class, the use of the equate is not fixed. In other words where some variables are set to be that size, they can in fact be bigger. (Over time most variables will morph to being StringTheory objects, which are infinitely big - but that's a longer-term process.)

>> I am getting a NetWebSource created page that is truncating a script and causing a javasript error.

PacketLength can be overridden on the Advanced tab of the NetWebSource procedure.