Page 1 of 1

error

Posted: Thu Oct 02, 2008 1:02 pm
by jlaranguizp
Esroy tratando de ejecutar la aplicacion de account y me da el siguiente error.

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

Stack Calls
===========
Called from: C:\FWH\source\classes\dialog.prg => CREATEDLGERROR(555)
Called from: C:\FWH\source\classes\dialog.prg => TDIALOG:ACTIVATE(287)
Called from: C:\contab\contabil.prg => ENTRADAGASTO(764)
Called from: C:\contab\ejemcont.prg => (b)HAZMENU(130)
Called from: .\source\classes\MENU.PRG => TMENU:COMMAND(0)
Called from: .\source\classes\WINDOW.PRG => TWINDOW:COMMAND(0)
Called from: .\source\classes\MDIFRAME.PRG => TMDIFRAME:COMMAND(0)
Called from: => TMDIFRAME:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE(0)
Called from: C:\contab\ejemcont.prg => MAIN(94)

Posted: Thu Oct 02, 2008 4:23 pm
by Antonio Linares
Ese ejemplo usa controles de Borland, por lo que al probarlo en 32 bits con FWH, es preciso cambiar la forma en que se carga BWCC32.DLL.

Posted: Thu Oct 02, 2008 4:24 pm
by Antonio Linares
En 32 bits has de cargar el soporte de controles de Borland así:

local hDLL := LoadLibrary( "bwcc32.dll" )

SET RESOURCES TO "tus_recursos.DLL"

BWCCRegister( GetResources() )

... código de la aplicación

DLL32 FUNCTION BWCCRegister( hInst AS LONG ) AS WORD PASCAL LIB "BWCC32.DLL"

Y copia el fichero BWCC32.DLL a la carpeta en donde esté tu aplicación. Esa DLL está en c:\FWH\DLL