Upgrading problem (again)

Upgrading problem (again)

Postby Willy » 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
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Postby Antonio Linares » Thu Jun 14, 2007 12:43 pm

Willy,

Please check that you have this code in your app:
Code: Select all  Expand view
   ...
   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
User avatar
Antonio Linares
Site Admin
 
Posts: 41901
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Willy » Thu Jun 14, 2007 3:18 pm

Thanks Antonio,

I started from a working copy.

These lines must have been deleted by mistake.

Greetings
Willy Hermans
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Folders does not work anymore

Postby Willy » 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 =
Code: Select all  Expand view
Redefine Folder oFold1 id 135 of oDlg prompt "1", "2" Dialogs "SubFrm1" , "SubFrm2"


Is there something changed

Thanks

Willy Hermans
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Postby driessen » 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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41901
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Willy » 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
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 78 guests