Problems using SmartPak4.3 with 9.1d on W98

sseguron

New Member
I am sorry disturbing you, but we have installed smartpack 4.3 with current progress vrs 9.1d on w98.

- we installed in C:\smartpak.
- we compiled as explained (add c:\smartpak at the beginning of our propath).
- we started AppBuilder (with propath modified).

- when we tried to insert a calendar for eg in a smart window, we get the following :
warning -nb has been increased from xx to xxx (5407)

multiple times
and progress AppB hangs.

when we look at progress stack we get :

getObjectHidden gui/adm2/spin.r (c:\smartpak\gui\adm2\spin.r) at line 3116
getObjectHidden gui/adm2/spin.r (c:\smartpak\gui\adm2\spin.r) at line 3116
getObjectHidden gui/adm2/spin.r (c:\smartpak\gui\adm2\spin.r) at line 3116
getObjectHidden gui/adm2/spin.r (c:\smartpak\gui\adm2\spin.r) at line 3116
--> getObjectHidden gui/adm2/spin.r (c:\smartpak\gui\adm2\spin.r) at line 3107

- the same thing happens with other smartpak objects (toolbar, etc)

what should we do.

Thanks

:confused: :confused: :confused: :confused: :confused:
 
This is caused by a bug in the standard ADM code and will affect anyone who is trying to use the 'getObjectHidden' method of any SmartObject.

The problem, is that a pre-processor has been removed from file 'src/adm2/smrtprop.i'. This file should contain the line:

&GLOB xpObjectHidden

but as from 9.1D, this line is missing, although there is still an entry for property 'ObjectHidden' in the ADMProps temp-table. Some blockhead has been modifying the files and has deleted it by mistake.

To get around this problem, SmartPak defines the pre-processor itself. When PSC get around to fixing the problem, this may cause a duplicate preprocessor definition message when recompiling SmartPak objects.

You can get a 'fixed' version of SmartPak from:

http://www.progressmail.com/smartpak2
 
Top