Unrecoverable error 9004: RDD invalid or failed to load

Unrecoverable error 9004: RDD invalid or failed to load

Postby chiaiese » Fri Sep 10, 2021 11:28 pm

Hello,
I'm starting to use FW2020 with Harbour 3.0

in my tests, randomly but very often, I got this error at the very beginning of my app.
Here is the main procedure:
Code: Select all  Expand view

static oDDESrv

function main()
local cPath, cVolume, cBrush

parameters User,Password,cGets

tracelog("entro in main")
memowrit("test.log","entro in main!")

tracelog("Main 1")
EXTERNAL dbfcdx

tracelog("Main 2")
EXTERNAL dbffpt

tracelog("Main 3")
EXTERNAL ordkeycount

tracelog("Main 4")
rddsetdefault("DBFCDX")

EXTERNAL descend
EXTERNAL rc_barcode
tracelog("Main 5")


User     := if(type("User")    ="U", space(10 ), pad(User,    10 ))
PassWord := if(type("Password")="U", space(15), pad(Password,15))

private aOpen   := {}

public bTrue    := {||.T.}
public bFalse   := {||.F.}
public oApp     := CApp():New()

memowrit("test.log","App Creata!")
tracelog("App Creata!")

oApp:cTesta        := "Gestione Magazzino"
oApp:cRelease        := "R&C Informatica snc"

oApp:cCliente        := " R&&C Informatica  "
oApp:lAbiEuro        := .T.
oApp:lEmail        := .T.
oApp:lPdf            := .T.
oApp:lFax            := .T.
oApp:lExcel        := .T.
oApp:nVersion        := 10
oApp:cFtpUpd        := "rcinfo.zip"
oApp:bAfterUpd    := {|cGest,nArea,aFlds| AfterUpdate(cGest,nArea,aFlds) }
oApp:bBeforeUpd     := {|| BeforeUpdate() }

oApp:bInit            := {|oApp,Usr,Grp| AppInit(oApp) }
oApp:bInitGest    := {|oApp| InitGest(oApp) }
oApp:bOnClose        := {|| AppClose() }

oApp:nMaxFiles    := 120
oApp:lAutoAnno    := .T.
oApp:lConvEdit    := .F.
oApp:lDataDict    := .T.
oApp:lRicElenco    := .T.

oApp:aMenu        := {|cUsr,cGrp| MainMenu(cUsr,cGrp) }
oApp:nMaxUtenti    := 20
oApp:nMaxLicenze    := 12
oApp:PathNew        := "$xDATI\$xGESTNEW\"

memowrit("
test.log","Starting App!")
oApp:Start(User,Password,cBrush)

if !isNil(oDDESrv)
    oDDESrv:end()
endif
__Quit()



the error is written in hb_out.log
"Application Internal Error - C:\progs\MAGAZZIN\EXE\rcinfo32h.exe
Unrecoverable error 9004: RDD invalid or failed to load"

nor the 'trace.log' file neither the 'test.log' file are written to disk.

can somebody help?
thanks
Roberto Chiaiese
R&C Informatica S.n.c.
http://www.recinformatica.it
info@recinformatica.it
chiaiese
 
Posts: 84
Joined: Wed Feb 08, 2006 10:32 pm
Location: Roma, Italia

Re: Unrecoverable error 9004: RDD invalid or failed to load

Postby Antonio Linares » Sat Sep 11, 2021 5:34 am

Roberto,

I just tested your code using Harbour and it works fine: (I commented out where you create the object as such code it is not available)

trace.log

[roberto.prg->MAIN] (11)
Type: C >>>entro in main<<<

[roberto.prg->MAIN] (14)
Type: C >>>Main 1<<<

[roberto.prg->MAIN] (17)
Type: C >>>Main 2<<<

[roberto.prg->MAIN] (20)
Type: C >>>Main 3<<<

[roberto.prg->MAIN] (23)
Type: C >>>Main 4<<<

[roberto.prg->MAIN] (28)
Type: C >>>Main 5<<<
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42059
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Unrecoverable error 9004: RDD invalid or failed to load

Postby Antonio Linares » Sat Sep 11, 2021 5:44 am

Roberto,

What xHarbour version are you using ?

Please try to update it from:
http://xharbour.org/index.asp?page=download/windows/binaries_win
http://www.whosaway.com/
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42059
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Unrecoverable error 9004: RDD invalid or failed to load

Postby chiaiese » Sat Sep 11, 2021 2:42 pm

Antonio,
I'm using Harbour 3.2.0dev (r2004201301)
Fivewin version is: "FWH 20.02"
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies
the link file is:
Code: Select all  Expand view
\amb\lib\c0w32.obj +
..\obj\m +
..\obj\m_setup +
..\obj\m_varie +
..\obj\m_varst +
..\obj\m_contr +
..\obj\m_crea  +
..\obj\m_crea1 +
..\obj\m_crea2 +
..\obj\m_creadd+
+
..\obj\clsImpDoc+
..\obj\clsDocum +
..\obj\clsAnagr +
..\obj\clsStado +
..\obj\clsNYear +
..\obj\clsOutlk +
+
..\obj\m_copyDo+
..\obj\m_after +
..\obj\m_anagr +
..\obj\m_artic +
..\obj\m_banch +
..\obj\m_causa +
..\obj\m_chiva +
..\obj\m_chlis +
..\obj\m_famig +
..\obj\m_famig +
..\obj\m_listi +
..\obj\m_magaz +
..\obj\m_motor +
..\obj\m_movim +
..\obj\m_movi2 +
..\obj\m_opera +
..\obj\m_pagam +
..\obj\m_setpr +
..\obj\m_setp2 +
..\obj\m_taiva +
..\obj\m_ultnu +
..\obj\m_sta01 +
..\obj\m_sta03 +
..\obj\m_tabel +
..\obj\m_provin+
..\obj\m_comuni+
..\obj\m_syncro+
+
..\obj\m_sitan +
..\obj\m_situa +
..\obj\m_sotto +
..\obj\m_tabli +
..\obj\m_list1 +
..\obj\m_stinv +
..\obj\m_stven +
..\obj\m_desti +
+
..\obj\m_inter +
..\obj\m_evasi +
..\obj\m_recor +
..\obj\m_autord +
..\obj\m_genor +
..\obj\m_daevad +
..\obj\m_scomin +
+
..\obj\m_alter +
..\obj\m_compo +
..\obj\m_produ +
..\obj\m_stpro +
..\obj\m_scade +
..\obj\m_incas +
..\obj\m_incax +
..\obj\m_stint +
+
..\obj\m_setco +
..\obj\m_grupp +
..\obj\m_mastr +
..\obj\m_conti +
..\obj\m_cauco +
..\obj\m_pnota +
..\obj\m_parti +
..\obj\m_moiva +
..\obj\m_movco +
..\obj\m_stnot +
..\obj\m_stiva +
..\obj\m_stbil +
..\obj\m_sitep +
+
..\obj\m_stfid +
..\obj\m_cenco +
+
..\obj\m_autome+
..\obj\m_autovi+
..\obj\m_manmez+
+
..\obj\m_carne +
..\obj\m_asseg +
..\obj\m_asspd +
+
..\obj\m_setbr +
..\obj\m_bridge +
+
..\obj\m_autof +
..\obj\m_offer +
..\obj\m_stve1 +
..\obj\m_stve2 +
..\obj\m_stpag +
+
..\obj\m_news   +
..\obj\m_expweb +
..\obj\m_email  +
+
..\obj\m_import +
..\obj\m_steti +
..\obj\m_stcirc +
..\obj\vi_lette +
..\obj\m_graf01 +
..\obj\m_contra +
..\obj\m_stage +
..\obj\m_fattpa +
..\obj\m_barcod +
+
..\obj\s_ordlav +
..\obj\s_interv +
..\obj\s_hardw +
..\obj\s_consun +
..\obj\s_benest +
..\obj\s_genman +
..\obj\s_autofa +
..\obj\m_cview, +
+
..\exe\magaw32.exe,, +
+
\amb\lib\RcWin32.lib +
\amb\lib\SBrowseH.lib +
\amb\lib\Fiveh.lib +
\amb\lib\FiveHC.lib +
\amb\lib\libmysql.lib +
\amb\lib\libpq.lib +
\amb\lib\hbhpdf.lib +
\amb\lib\libhpdf.lib +
\amb\lib\png.lib +
\amb\lib\hbwin.lib +
\amb\lib\gtgui.lib +
\amb\lib\hbrtl.lib +
\amb\lib\hbvm.lib +
\amb\lib\hblang.lib +
\amb\lib\hbmacro.lib +
\amb\lib\hbrdd.lib +
\amb\lib\rddntx.lib +
\amb\lib\rddcdx.lib +
\amb\lib\rddfpt.lib +
\amb\lib\hbsix.lib +
\amb\lib\hbdebug.lib +
\amb\lib\hbcommon.lib +
\amb\lib\hbpp.lib +
\amb\lib\hbcpage.lib +
\amb\lib\hbcplr.lib +
\amb\lib\hbct.lib +
\amb\lib\hbpcre.lib +
\amb\lib\xhb.lib +
\amb\lib\hbziparc.lib +
\amb\lib\hbmzip.lib +
\amb\lib\hbzlib.lib +
\amb\lib\minizip.lib +
\amb\lib\hbusrrdd.lib +
\amb\lib\hbtip.lib +
\amb\lib\hbzebra.lib +
\amb\lib\dolphin.lib +
\amb\lib\cw32.lib +
\amb\lib\import32.lib +
\amb\lib\ws2_32.lib +
\amb\lib\psdk\odbc32.lib +
\amb\lib\psdk\nddeapi.lib +
\amb\lib\psdk\iphlpapi.lib +
\amb\lib\psdk\msimg32.lib +
\amb\lib\psdk\psapi.lib +
\amb\lib\psdk\rasapi32.lib +
\amb\lib\psdk\gdiplus.lib +
\amb\lib\psdk\shell32.lib +
\amb\lib\barlib32.lib,
rcinfo.res
Roberto Chiaiese
R&C Informatica S.n.c.
http://www.recinformatica.it
info@recinformatica.it
chiaiese
 
Posts: 84
Joined: Wed Feb 08, 2006 10:32 pm
Location: Roma, Italia

Re: Unrecoverable error 9004: RDD invalid or failed to load

Postby Antonio Linares » Sat Sep 11, 2021 2:52 pm

Roberto,

My mistake

Please download and use this Harbour version:
https://github.com/FiveTechSoft/Harbour_builder/blob/master/harbour_win32_bcc_2020_10_19.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42059
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Unrecoverable error 9004: RDD invalid or failed to load

Postby chiaiese » Sat Sep 11, 2021 2:55 pm

Do you think I should use xHarbour instead of Harbour?

From your point of view, which do you prefer?

Thanks

Roberto
Roberto Chiaiese
R&C Informatica S.n.c.
http://www.recinformatica.it
info@recinformatica.it
chiaiese
 
Posts: 84
Joined: Wed Feb 08, 2006 10:32 pm
Location: Roma, Italia

Re: Unrecoverable error 9004: RDD invalid or failed to load

Postby Antonio Linares » Sat Sep 11, 2021 3:13 pm

Roberto,

We use Harbour, no doubt about it.

The power that Harbour's hbcplr.lib provides is enough reason to use it :-)

mod_harbour exists thanks to hbcplr.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42059
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 49 guests