FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper Program runs in Clipper 5.2e / FiveWin, crashes in xHarbour
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Program runs in Clipper 5.2e / FiveWin, crashes in xHarbour
Posted: Mon May 26, 2008 08:29 PM
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.
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Program runs in Clipper 5.2e / FiveWin, crashes in xHarb
Posted: Mon May 26, 2008 08:59 PM

You have to replace preview.dll with prev32.dll.

EMG

Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Program runs in Clipper 5.2e / FiveWin, crashes in xHarbour
Posted: Mon May 26, 2008 09:00 PM

Thank you Enrico !

Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Program runs in Clipper 5.2e / FiveWin, crashes in xHarbour
Posted: Mon May 26, 2008 09:13 PM

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?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Program runs in Clipper 5.2e / FiveWin, crashes in xHarbour
Posted: Mon May 26, 2008 11:01 PM

Don't rename that DLL. It is searched by its name.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion