Posted by: Oliver Pleissner
we upgraded from CTD 1.5.1 PTF3 to TD 4.2. But now our tools are not working
Normally the user has to mark a Functional Class in his outline and start
the tools with the following parameters:
$Outline $MarkedItem $MainWindow $File
The tools using the following code:
Window Handle: CDK_hWndOwner
Set gvhOutline = SalStrToNumber( strArgArray )
Set gvhItem = SalStrToNumber( strArgArray )
Set CDK_hWndOwner = SalNumberToWindowHandle( SalStrToNumber(
strArgArray[ 3 ] ) )
If gvhOutline != 0 AND CDK_hWndOwner != hWndNULL AND gvhOutline =
SalOutlineOutlineOfUIFrame( CDK_hWndOwner )
If gvcSelectedClass.Initialize( gvhOutline, gvhItem ) AND NOT
Call SalMessageBox( 'No class selected.', 'INFO', MB_IconStop |
After upgrading from 1.5.1 to 4.2 the function
gvcSelectedClass.Initialize( gvhOutline, gvhItem ) now returns 0 ?!
Does anybody have a clue?
Thanks in advance.