FOLDERS with RESOURCE FILE (Pelle C)

FOLDERS with RESOURCE FILE (Pelle C)

Postby Ollie » 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:

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)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Postby Antonio Linares » Wed Jan 03, 2007 6:50 am

Ollie,

The control name to use is "SysTabControl32" instead of "TFolder"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Ollie » Wed Jan 03, 2007 7: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)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 74 guests