FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FOLDERS with RESOURCE FILE (Pelle C)
Posts: 233
Joined: Sat Dec 30, 2006 06:10 AM
FOLDERS with RESOURCE FILE (Pelle C)
Posted: Wed Jan 03, 2007 05:32 AM
As soon as I add a custom control in my dialog - (Class name: TFOLDER)
I get the following runtime error:

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)


Please tell me what is missing?

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' ...
Many thanks

Ollie.



Using:

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)

Borland C++ 5.5.1

FWH 9.04 (2009 Apr)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FOLDERS with RESOURCE FILE (Pelle C)
Posted: Wed Jan 03, 2007 06:50 AM

Ollie,

The control name to use is "SysTabControl32" instead of "TFolder"

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 233
Joined: Sat Dec 30, 2006 06:10 AM
FOLDERS with RESOURCE FILE (Pelle C)
Posted: Wed Jan 03, 2007 07:22 PM

Thanks. Its working great!

Many thanks

Ollie.



Using:

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)

Borland C++ 5.5.1

FWH 9.04 (2009 Apr)

Continue the discussion