dcsimg
Page 2 of 2 FirstFirst 12
Results 41 to 51 of 51

Thread: Windows August 2019 Update break VB arrays

  1. #41
    PowerPoster
    Join Date
    Jun 2013
    Posts
    4,322

    Re: Windows August 2019 Update break VB arrays

    Info for RC5-Users...

    To bridge the timespan before MS' "official anti-patch" trickles through to affected Clients...

    I've uploaded a new RC5-version to the "usual place", which is addressing the issues internally.

    Affected were:
    - cConstructor.vtblCall (and only when no arguments were passed to the vtbl-method in question)
    - cRecordset.GetRows (only when the Rs did not contain any Records)

    If you did not use the two above listed methods in your code,
    then there's no "pressing need" to install this new RC5-version (5.0.69).

    HTH

    Olaf

  2. #42
    Frenzied Member
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    1,297

    Re: Windows August 2019 Update break VB arrays

    Thanks for producing a prompt patch Olaf. What about CRPCConnection.RPC calls when no arguments passed to to P() paramarray? Are those unaffected?

  3. #43
    Addicted Member
    Join Date
    Feb 2015
    Posts
    171

    Re: Windows August 2019 Update break VB arrays

    Quote Originally Posted by ColinE66 View Post
    It looks like version 1809 is fixed, but version 1903 isn't.

    Microsoft is working on a resolution and estimates a solution will be available late August.
    https://docs.microsoft.com/en-us/win...indows-10-1903

  4. #44
    New Member
    Join Date
    Oct 2018
    Posts
    15

    Re: Windows August 2019 Update break VB arrays

    Quote Originally Posted by Schmidt View Post
    Info for RC5-Users...

    To bridge the timespan before MS' "official anti-patch" trickles through to affected Clients...

    I've uploaded a new RC5-version to the "usual place", which is addressing the issues internally.

    Affected were:
    - cConstructor.vtblCall (and only when no arguments were passed to the vtbl-method in question)
    - cRecordset.GetRows (only when the Rs did not contain any Records)

    If you did not use the two above listed methods in your code,
    then there's no "pressing need" to install this new RC5-version (5.0.69).

    HTH

    Olaf

    Where do I find the RC5 (5.0.69)??

    With best regards!

  5. #45
    Frenzied Member jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    1,403

    Re: Windows August 2019 Update break VB arrays


  6. #46
    Lively Member
    Join Date
    Jan 2018
    Posts
    65

    Re: Windows August 2019 Update break VB arrays

    The Windows 7 fix is not available in Windows Updates, you need to download it directly:
    KB4517297

    It does seem to fix all the cases that I tested. Hopefully everything will be resolved by standard updates eventually.

  7. #47
    PowerPoster
    Join Date
    Jun 2013
    Posts
    4,322

    Re: Windows August 2019 Update break VB arrays

    Quote Originally Posted by hennyere View Post
    Where do I find the RC5 (5.0.69)??
    In the download-section on vbRichClient.com (the BaseDlls-ZipPackage).

    Olaf

  8. #48
    Hyperactive Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    280

    Re: Windows August 2019 Update break VB arrays

    Quote Originally Posted by Arnoutdv View Post
    Yes, got my first customer with an error 5.
    In the IFileDialog class by LaVolpe, indeed on an empty ParamArray
    I added an additional parameter Empty when the function is originally called with only 2 parameters.
    And I added error handling...
    I am experiencing this same issue in the same class. Thanks for posting your fix Arnoutdv. I had to move your On Error Resume Next to before the array assignment as that is where the error happens for me. So my code looks like yours except for this:

    Code:
        
        On Error Resume Next
        vParams() = FunctionParameters()                    ' copy passed parameters, if any
        If IsEmpty(vParams(0)) Then
          pCount = 0
        Else
          pCount = Abs(UBound(vParams) - LBound(vParams) + 1&)
        End If
        On Error GoTo 0
    Last edited by AAraya; Yesterday at 07:40 AM.

  9. #49
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    3,510

    Re: Windows August 2019 Update break VB arrays

    Yes, typo I noticed after posting
    I didn’t notice because I replaced all calls with only 2 parameters with a call with 3 parameters. The 3rd being Empty
    Last edited by Arnoutdv; Aug 20th, 2019 at 03:19 PM.

  10. #50
    New Member
    Join Date
    Aug 2019
    Posts
    1

    Re: Windows August 2019 Update break VB arrays

    Anyone know when a fix for Win 10 1903 will be released.

  11. #51
    Addicted Member
    Join Date
    Feb 2015
    Posts
    171

    Re: Windows August 2019 Update break VB arrays

    Quote Originally Posted by thomasp825 View Post
    Anyone know when a fix for Win 10 1903 will be released.
    Microsoft say "late August"

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width