Me aparece el error Unrecoverable error 6005: Exception error cuando el pograma pasa por el CASE FN_UNZIP.
No sé cuando el programa pasa por el CASE FN_UZIP. ¿ Cuando es necesario ese código ?
¿ Alguna ayuda ?
- Code: Select all Expand view RUN
- //----------------------------------------------------------------------------//
METHOD Command( nWParam, nLParam ) CLASS TDialog
local nNotifyCode, nID, hWndCtl
Local oWnd
#ifdef __CLIPPER__
nNotifyCode = nHiWord( nLParam )
nID = nWParam
hWndCtl = nLoWord( nLParam )
#else
nNotifyCode = nHiWord( nWParam )
nID = nLoWord( nWParam )
hWndCtl = nLParam
#endif
do case
case ::oPopup != nil
::oPopup:Command( nID )
case hWndCtl == 0 .and. ::oMenu != nil
::oMenu:Command( nID )
case nID != 0
do case
case nNotifyCode == BN_CLICKED
*
*
if hWndCtl != 0 .and. nID != IDCANCEL
if ValType( ::nResult ) == "O" // latest control which had focus
#ifdef __HARBOUR__ // FWH generates an endless loop when SetWindowText()
if ::nResult:lFocused
#endif
::nResult:LostFocus() // updates related variable
#ifdef __HARBOUR__ // FWH generates an endless loop when SetWindowText()
endif
#endif
// There is a pending Valid, it is not a clicked button
if ::nResult:nID != nID .and. ! ::nResult:lValid()
return nil
endif
endif
if AScan( ::aControls, { |o| o:nID == nID } ) > 0
#ifdef __XPP__
PostMessage( hWndCtl, FM_CLICK, 0, 0 )
#else
SendMessage( hWndCtl, FM_CLICK, 0, 0 )
#endif
elseif nID == IDOK
::End( IDOK )
endif
else
if nID == IDOK
::GoNextCtrl( GetFocus() )
elseif hWndCtl != 0 .and. ; // There is a control for IDCANCEL
AScan( ::aControls, { |o| o:nID == nID } ) > 0
SendMessage( hWndCtl, FM_CLICK, 0, 0 )
else
::End( IDCANCEL )
endif
endif
case nNotifyCode == CBN_SELCHANGE
SendMessage( hWndCtl, FM_CHANGE, 0, 0 )
case nID == FN_ZIP // FiveWin notifications codes
::Zip( nLParam )
case nID == FN_UNZIP
::UnZip( nPtrWord( nLParam ) ) // <<--------------------------------- Aquí el ERROR
endcase
endcase
return nil
La lista de llamadas es:
Called from NPTRWORD(0)
Called from TDIALOG:COMMAND(670) in FueAje\Five\Dialog.prg
Called from TWINDOW:HANDLEEVENT(0)
Called from TDIALOG:HANDLEEVENT(1516) in FueAje\Five\Dialog.prg
Called from CALLWINDOWPROC(0)
Called from TMULTIGET:GOTFOCUS(849) in FueAje\Five\mget.prg
Called from TWINDOW:HANDLEEVENT(0)
Called from TMULTIGET:HANDLEEVENT(1427) in FueAje\Five\Control.prg
Called from _FWH(3678) in SrcImp\Window.prg
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(460) in FueAje\Five\Dialog.prg
Called from TMSG:ACTIVATE(364) in FueMio\Msg.prg