xtsystem Posted January 27, 2015 Report Share Posted January 27, 2015 Pessoal, Estou testando compilar um sistema com a FW 12.02 com B5.82 e xH1.2.1 e estou recebendo mensagens de erro ao criar as DIALOGs que estão em um arquivo RES. Algumas DIALOGs são criadas sem erro e outras não: Called from: .\source\classes\DIALOG.PRG => CREATEDLGERROR( 538 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 273 ) O Sistema está compilado atualmente na FW 9.12 com B5.51 e xH 1.2.1 com o mesmo arquivo RES e funciona sem erros. Alguma sugestão? Obrigado! X&T Systems Mashafire and Smookbure 2 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted January 28, 2015 Report Share Posted January 28, 2015 Poste o ERROR.LOG completo e veja se voce não tem na pasta uma DIALOG.PRG da versão velha. Mostre algo assim: http://fivewin.com.br/index.php?/topic/20940-erro-na-dialog-cannot-create-dialog-box/ http://fivewin.com.br/index.php?/topic/19531-workshop-progr-%C3%B1-aceita-acresc-recurso-resolvido/ http://fivewin.com.br/index.php?/topic/21969-erro-ao-criar-dialog/ http://forums.fivetechsupport.com/viewtopic.php?f=3&t=20808 abs Quote Link to comment Share on other sites More sharing options...
xtsystem Posted January 30, 2015 Author Report Share Posted January 30, 2015 Nao estou conseguindo enviar o erro completo. Ele esta no anexo. Erro.log Obrigado Quote Link to comment Share on other sites More sharing options...
kapiaba Posted January 30, 2015 Report Share Posted January 30, 2015 Cole e copie somente até onde está escrito "sistema" no error.log o envie no meu email que eu posto aqui. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted January 30, 2015 Report Share Posted January 30, 2015 Transforme esta tela em .RC e poste aqui: DATAS_CAR tem alguma coisa errada nela. Algum recurso, que não está sendo chamado na funcção. Uma ListBox errada, uma bitmap ou um recurso borland. Application =========== Path and name: D:\FIVEWIN\CART\PROPP.EXE (32 bits) Size: 5,073,920 bytes Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20141106) FiveWin Version: FWHX 14.12 Windows version: 6.2, Build 9200 Time from start: 0 hours 0 mins 13 secs Error occurred at: 30/01/2015, 13:27:26 Error description: Error FiveWin/3 Cannot create Dialog Box: Resource: DATAS_CAR Stack Calls =========== Called from: .\source\classes\DIALOG.PRG => CREATEDLGERROR( 553 ) Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 289 ) Called from: D:\FIVEWIN\CART\PRO004.PRG => CADASDAT( 67 ) Called from: D:\FIVEWIN\CART\PRO001.PRG => (b)BUILDMENU( 775 ) Called from: .\source\classes\MENU.PRG => TMENU:COMMAND( 561 ) Called from: .\source\classes\WINDOW.PRG => TWINDOW:COMMAND( 1097 ) Called from: .\source\classes\MDIFRAME.PRG => TMDIFRAME:COMMAND( 255 ) Called from: => TMDIFRAME:HANDLEEVENT( 0 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3345 ) Called from: => WINRUN( 0 ) Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1050 ) Called from: D:\FIVEWIN\CART\PRO001.PRG => TELA_PRINCIPAL( 536 ) Called from: D:\FIVEWIN\CART\PRO001.PRG => DLGUSER( 2141 ) Called from: D:\FIVEWIN\CART\PRO001.PRG => (b)MAIN( 358 ) Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1039 ) Called from: D:\FIVEWIN\CART\PRO001.PRG => MAIN( 358 ) O programa quebrou nesta linha: Called from: D:\FIVEWIN\CART\PRO004.PRG => CADASDAT( 67 ) Abs Quote Link to comment Share on other sites More sharing options...
xtsystem Posted January 31, 2015 Author Report Share Posted January 31, 2015 Ok Kapiaba. Nesta linha esta o comando ACTIVATE DIALOG oDlg101 CENTERED E é isso que esta acontecendo nos modulos, quando eu vou ativar a tela;. Entende ? Obrigado Quote Link to comment Share on other sites More sharing options...
kapiaba Posted February 2, 2015 Report Share Posted February 2, 2015 Ok Kapiaba. Nesta linha esta o comando ACTIVATE DIALOG oDlg101 CENTERED E é isso que esta acontecendo nos modulos, quando eu vou ativar a tela;. Entende ? Obrigado Em DATAS_CAR, tem um recurso errado ou o dialogo está corrupto, vá desligando os controles que você mata. Quote Link to comment Share on other sites More sharing options...
xtsystem Posted February 25, 2015 Author Report Share Posted February 25, 2015 Obrigado Kapiaba e desculpa pela demora em responder, mas é o seguinte. Olha só o que aconteceu. Qdo montei meu sistema em clipper 5.3 + fivewin 9,12 + workshop, este criava um arquivo de delas DLL. Qdo converti a DLL para RES, para usar o xharbour, as janelas das telas ficaram um pouco fora de lugar, mas deu pra levar pelo menos até a versão FW 9.12 . Qdo compilei o mesmo sistema na FW 12.02, as telas começaram a dar erro quuando as carregava (ACTIVATE.....) O que que estava acontecendo: Eu, qdo fazia um bloco de janelas tipo: Nome, endereco, cep, etc. de um determinada tela, separava este bloco com um recurso que existia no WS de criar linhas. Ai então separava estes blocos com linhas e fazia tambem caixas usando estes mesmos recursos. Pois bem. O Pelles que uso, entendia estas linhas como CUSTON CONTROL Todas as telas que tinham estas linhas, tambem, não conseguia fazer o ACTIVATE. Simples. Tirei as linhas e o sistema todo funcionou, apesar de que se vc criar estas mesmas lilnhas no Pelles, não da problema. È ISSO. Muito obrigado Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.