Page 1 of 1

Program runs in Clipper 5.2e / FiveWin, crashes in xHarbour

Posted: Mon May 26, 2008 8:29 pm
by HunterEC
Antonio:
The same source code works in Clipper but crashes in xHarbour Nov. 2007. Here's the error message:

Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: PREVIEW_PROC

Stack Calls
===========
Called from: DIALOG.PRG => CREATEDLGERROR(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: REPORT.PRG => TREPORT:ACTIVATE(0)
Called from: TST.PRG => MAIN(69)


Thank you for your help.

Re: Program runs in Clipper 5.2e / FiveWin, crashes in xHarb

Posted: Mon May 26, 2008 8:59 pm
by Enrico Maria Giordano
You have to replace preview.dll with prev32.dll.

EMG

Posted: Mon May 26, 2008 9:00 pm
by HunterEC
Thank you Enrico !

Posted: Mon May 26, 2008 9:13 pm
by HunterEC
Enrico: after copying the PREV32SP.DLL to the working folder and also renaming it to PREVIEW.DLL the program continues to crash with the same message. Any suggestions?

Posted: Mon May 26, 2008 11:01 pm
by Antonio Linares
Don't rename that DLL. It is searched by its name.