RC dialogs and bitmaps disapearing
Posted: Tue Dec 06, 2005 12:37 pm
I have a problem with a RC file linked with xHarbour.
The problem only occurs in xHarbour, in Clipper it´s OK.
It works fine for sometime and, suddenly, when something is changed in the RC, I tget the error:
"Error FiveWin/3 Cannot create Dialog Box"
I am sure the dialog exists in the RC.
The RC has many dialogs and if I remove one, any one, the app runs fine
again.
Sometimes, if I change the dialog name it runs OK, sometimes not.
And also some bitmaps disapear and if I change the bitmap name, sometimes it returns.
I am using FW May 2005 build.
I put here a very small program that has the problem.
Can anyone confirm ( or not ) the problem ?
Mauricio Faria
Concentra Informatica
-------------------------------------
// The PRG
#INCLUDE "FIVEWIN.CH"
FUNCTION MAIN()
DEFINE DIALOG oDLG RESOURCE "PRE_IMP"
ACTIVATE DIALOG oDLG
RETURN NIL
--------------------------------------
// The RC
PRE_IMP DIALOG 80, 38, 360, 286
BEGIN
END
CAD_CONFIG DIALOG 6, 15, 286, 219
BEGIN
END
CAD_CONTATOS DIALOG 6, 15, 203, 69
BEGIN
END
CAD_EXTRA DIALOG 119, 91, 293, 191
BEGIN
END
CAD_FONES DIALOG 82, 58, 242, 58
BEGIN
END
CAD_FONESVAL DIALOG 87, 46, 317, 106
BEGIN
END
CAD_MENSALIDADE DIALOG 90, 35, 312, 234
BEGIN
END
CAD_MODI DIALOG 6, 15, 410, 278
BEGIN
END
CAD_OBSERVACAO DIALOG 6, 15, 390, 203
BEGIN
END
CAD_ORCAMENTOS DIALOG 54, 40, 325, 227
BEGIN
END
CAD_OUTRO_FONE DIALOG 7, 18, 353, 134
BEGIN
END
CAD_SENHA DIALOG 41, 107, 350, 118
BEGIN
END
CAD_SOLICIT DIALOG 6, 15, 498, 366
BEGIN
END
CAD_TREINA DIALOG 6, 15, 334, 87
BEGIN
END
CAD_VERSOES DIALOG 6, 15, 336, 96
BEGIN
END
DLG_ENVELOPE DIALOG 104, 43, 334, 104
BEGIN
END
DLG_FILTRO DIALOG 156, 46, 161, 142
BEGIN
END
DLG_INDEX DIALOG 6, 15, 329, 120
BEGIN
END
DLGAGUARDE DIALOG 77, 45, 105, 30
BEGIN
END
DLGDATAEST DIALOG 27, 29, 269, 86
BEGIN
END
DLGDATACLIEST DIALOG 27, 29, 269, 152
BEGIN
END
DLGFILREC DIALOG 119, 211, 170, 100
BEGIN
END
DLGINDEXAULTATEND DIALOG 77, 54, 207, 66
BEGIN
END
DLGPENDENC DIALOG 119, 91, 248, 173
BEGIN
END
IMP_NOTA DIALOG 27, 29, 259, 117
BEGIN
END
IMP_SOLICIT DIALOG 27, 29, 289, 73
BEGIN
END
PRINT DIALOG 76, 39, 215, 81
BEGIN
END
PRINT_PROC DIALOG 7, 21, 194, 82
BEGIN
END
PREVIEW_PROC DIALOG 6, 17, 194, 82
BEGIN
END
CAD_ATEDESCR DIALOG 6, 15, 203, 69
BEGIN
END
CAD_ATENDIMENTOS DIALOG 21, 25, 534, 391
BEGIN
END
CAD_CLIENTES DIALOG 62, 23, 437, 299
BEGIN
END
------------------------------------------------
// The xBp
CINI =
C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN = .T.
LDEBUG = .F.
LGUI = .T.
LIBFOLDERS =
LMT = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES =
MYLINK_FLAGS =
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER =
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS =
SLY_OUTPUTFOLDER =
TARGETFOLDER =
[C:\LIXO\test.prg]
MYC_FLAGS =
MYDEFINES =
MYPRG_FLAGS =
[C:\LIXO\test.rc]
MYDEFINES =
MYRC_FLAGS =
The problem only occurs in xHarbour, in Clipper it´s OK.
It works fine for sometime and, suddenly, when something is changed in the RC, I tget the error:
"Error FiveWin/3 Cannot create Dialog Box"
I am sure the dialog exists in the RC.
The RC has many dialogs and if I remove one, any one, the app runs fine
again.
Sometimes, if I change the dialog name it runs OK, sometimes not.
And also some bitmaps disapear and if I change the bitmap name, sometimes it returns.
I am using FW May 2005 build.
I put here a very small program that has the problem.
Can anyone confirm ( or not ) the problem ?
Mauricio Faria
Concentra Informatica
-------------------------------------
// The PRG
#INCLUDE "FIVEWIN.CH"
FUNCTION MAIN()
DEFINE DIALOG oDLG RESOURCE "PRE_IMP"
ACTIVATE DIALOG oDLG
RETURN NIL
--------------------------------------
// The RC
PRE_IMP DIALOG 80, 38, 360, 286
BEGIN
END
CAD_CONFIG DIALOG 6, 15, 286, 219
BEGIN
END
CAD_CONTATOS DIALOG 6, 15, 203, 69
BEGIN
END
CAD_EXTRA DIALOG 119, 91, 293, 191
BEGIN
END
CAD_FONES DIALOG 82, 58, 242, 58
BEGIN
END
CAD_FONESVAL DIALOG 87, 46, 317, 106
BEGIN
END
CAD_MENSALIDADE DIALOG 90, 35, 312, 234
BEGIN
END
CAD_MODI DIALOG 6, 15, 410, 278
BEGIN
END
CAD_OBSERVACAO DIALOG 6, 15, 390, 203
BEGIN
END
CAD_ORCAMENTOS DIALOG 54, 40, 325, 227
BEGIN
END
CAD_OUTRO_FONE DIALOG 7, 18, 353, 134
BEGIN
END
CAD_SENHA DIALOG 41, 107, 350, 118
BEGIN
END
CAD_SOLICIT DIALOG 6, 15, 498, 366
BEGIN
END
CAD_TREINA DIALOG 6, 15, 334, 87
BEGIN
END
CAD_VERSOES DIALOG 6, 15, 336, 96
BEGIN
END
DLG_ENVELOPE DIALOG 104, 43, 334, 104
BEGIN
END
DLG_FILTRO DIALOG 156, 46, 161, 142
BEGIN
END
DLG_INDEX DIALOG 6, 15, 329, 120
BEGIN
END
DLGAGUARDE DIALOG 77, 45, 105, 30
BEGIN
END
DLGDATAEST DIALOG 27, 29, 269, 86
BEGIN
END
DLGDATACLIEST DIALOG 27, 29, 269, 152
BEGIN
END
DLGFILREC DIALOG 119, 211, 170, 100
BEGIN
END
DLGINDEXAULTATEND DIALOG 77, 54, 207, 66
BEGIN
END
DLGPENDENC DIALOG 119, 91, 248, 173
BEGIN
END
IMP_NOTA DIALOG 27, 29, 259, 117
BEGIN
END
IMP_SOLICIT DIALOG 27, 29, 289, 73
BEGIN
END
PRINT DIALOG 76, 39, 215, 81
BEGIN
END
PRINT_PROC DIALOG 7, 21, 194, 82
BEGIN
END
PREVIEW_PROC DIALOG 6, 17, 194, 82
BEGIN
END
CAD_ATEDESCR DIALOG 6, 15, 203, 69
BEGIN
END
CAD_ATENDIMENTOS DIALOG 21, 25, 534, 391
BEGIN
END
CAD_CLIENTES DIALOG 62, 23, 437, 299
BEGIN
END
------------------------------------------------
// The xBp
CINI =
C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN = .T.
LDEBUG = .F.
LGUI = .T.
LIBFOLDERS =
LMT = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES =
MYLINK_FLAGS =
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER =
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS =
SLY_OUTPUTFOLDER =
TARGETFOLDER =
[C:\LIXO\test.prg]
MYC_FLAGS =
MYDEFINES =
MYPRG_FLAGS =
[C:\LIXO\test.rc]
MYDEFINES =
MYRC_FLAGS =