When using an .exe in Ubuntu with Wine, when calling XBROWSE from a DIALOG, it produces this error:
- Code: Select all Expand view
- Application
===========
Path and name: Z:\home\ubuntu\test\xbrowse\LINUX.exe (32 bits)
Size: 2,475,520 bytes
Time from start: 0 hours 0 mins 3 secs
Error occurred at: 06/16/11, 14:33:49
Error description: Error BASE/1004 No exported method: EVAL
Args:
[ 1] = U
Stack Calls
===========
Called from: => (b)EVAL(0)
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE(386)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:KEYCOUNT(0)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:REFRESH(1144)
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE(411)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:RESIZE(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT(1499)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT(11282)
Called from: .\source\classes\WINDOW.PRG => _FWH(3409)
Called from: => SETSCROLLRANGE(0)
Called from: .\source\classes\SCRLLBAR.PRG => (b)TSCROLLBAR(93)
Called from: .\source\classes\SCRLLBAR.PRG => TSCROLLBAR:SETRANGE(0)
Called from: .\source\classes\SCRLLBAR.PRG => TSCROLLBAR:WINNEW(203)
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:INITIATE(805)
Called from: => __OBJSENDMSG(0)
Called from: .\source\function\HARBOUR.PRG => OSEND(210)
Called from: .\source\function\HARBOUR.PRG => ASEND(178)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE(657)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT(917)
Called from: => DIALOGBOX(0)
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE(273)
Called from: linux.prg => MAIN(112)
The code is:
- Code: Select all Expand view
DEFINE DIALOG oDlg RESOURCE "SELECT" TITLE "Please, Select"
oBrowse := TXBrowse():New( oDlg )
aBrowse := { { { || FIELD->CODE }, "Code", 50, 0 },;
{ { || FIELD->NAME }, "Name", 5160, 0 } }
oBrowse:CreateFromResource(101)
REDEFINE BUTTON ID 201 OF oDlg ACTION( lSave := .T., oDlg:End() )
ACTIVATE DIALOG oDlg CENTERED
In old FWH versions worked fine.
In Windows, the code works perfect.
What is wrong?.
Thank you very much.