FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Upgrading problem (again)
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Upgrading problem (again)
Posted: Thu Jun 14, 2007 10:29 AM

I still have a problem while upgrading to the latest version of HB and FWH.

I am using Borland Resource Workshop.

The simple buttons are working. When I use a Graphical Borland button the program closes without any error.

Again I think it is someting simple I forgot.

Any idea.

Greetings.

Willy Hermans

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Upgrading problem (again)
Posted: Thu Jun 14, 2007 12:43 PM
Willy,

Please check that you have this code in your app:
   ... 
   local hBorland := LoadLibrary( "BWCC32.DLL" ) 
    
   BWCCRegister( GetResources() ) 

   ... (your app code) 

   FreeLibrary( hBorland ) 

return nil 

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

Antonio Linares
www.fivetechsoft.com
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Upgrading problem (again)
Posted: Thu Jun 14, 2007 03:18 PM

Thanks Antonio,

I started from a working copy.

These lines must have been deleted by mistake.

Greetings
Willy Hermans

Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Folders does not work anymore
Posted: Fri Jun 15, 2007 10:26 AM
I have a working application now.

There are still some problems.

The screens with folders do'nt work anymore.

Only the content of the first folder is shown.

My syntax =
Redefine Folder oFold1 id 135 of oDlg prompt "1", "2" Dialogs "SubFrm1" , "SubFrm2"


Is there something changed

Thanks

Willy Hermans
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Upgrading problem (again)
Posted: Fri Jun 15, 2007 10:57 AM

Willy,

The problem is probably caused by your resources.

I had a similar problem a few months ago. In my resource file I had a rectangle arround the folder. In FW16 that was no problem. In FW for xHarbour, in fact the folder was behind the rectangle, so the folder was invisible.

Deleting the rectangle solved the problem.

Hope to have helped you.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Upgrading problem (again)
Posted: Fri Jun 15, 2007 11:14 AM

Willy,

You have to change "TFolder" into "SysTabControl32" in your resources file

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Upgrading problem (again)
Posted: Fri Jun 15, 2007 11:21 AM

Thanks for the reply Michel.
Those setteing were already ok.

Changing it to "SysTabControl32" made the difference.

Again a step further.

Thanks Antonio

Continue the discussion