FOLDERS with RESOURCE FILE (Pelle C)
Posted: Wed Jan 03, 2007 5:32 am
As soon as I add a custom control in my dialog - (Class name: TFOLDER)
I get the following runtime error:
I see the bigfold sample has:
local hBorl := LoadLibrary( "BWCC32.dll" )
BWCCRegister(GetResources())
So I tried putting that in the code, but it won't link:
Unresolved External '_HB_FUN_BSCCREGISTER' ...
I get the following runtime error:
Please tell me what is missing?Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: DB_CURR
Stack Calls
===========
Called from: => CREATEDLGERROR(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: current.prg => DB_CURR(114)
Called from: subspro3.prg => (b)MAIN(90)
Called from: BTNBMP.PRG => TBTNBMP:CLICK(0)
Called from: BTNBMP.PRG => TBTNBMP:LBUTTONUP(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: CONTROL.PRG => TBTNBMP:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: WINDOW.PRG => TMDIFRAME:ACTIVATE(0)
Called from: subspro3.prg => MAIN(96)
I see the bigfold sample has:
local hBorl := LoadLibrary( "BWCC32.dll" )
BWCCRegister(GetResources())
So I tried putting that in the code, but it won't link:
Unresolved External '_HB_FUN_BSCCREGISTER' ...