« Return to Thread: Major bug in plugin API for 11.2?

Major bug in plugin API for 11.2?

by Jeffrey Kain :: Rate this Message:

Reply to Author | View in Thread

We're seeing a lot of old, tested plug-in code fail in 4D v11.2 when we
pass a dereferenced pointer parameter into a plug-in.

Stuff like:

  OT GetArray (...; $1->)   ` ObjectTools

Or

  AL_GetSelect (...; $1->) ` AreaList Pro

If we change the code to something like:

  $ptr:=$1
  Plugin_call (... ; $ptr->)
 
... it works fine.

At first we thought it was just ObjectTools, but now we're noticing it
in AreaList Pro as well. This is causing a bit of a problem for
backwards compatibility.

Jeff


**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/


    Did you know?  The 4D Partner Program now gives you
    access to Hotfix releases as soon as they are available!
    To learn more, go to http://www.4D.com/support/partner.html

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************

 « Return to Thread: Major bug in plugin API for 11.2?

LightInTheBox - Buy quality products at wholesale price!