Page 1 of 1
Upgrading problem (again)
Posted: Thu Jun 14, 2007 10:29 am
by Willy
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
Posted: Thu Jun 14, 2007 12:43 pm
by Antonio Linares
Willy,
Please check that you have this code in your app:
Code: Select all
...
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"
Posted: Thu Jun 14, 2007 3:18 pm
by Willy
Thanks Antonio,
I started from a working copy.
These lines must have been deleted by mistake.
Greetings
Willy Hermans
Folders does not work anymore
Posted: Fri Jun 15, 2007 10:26 am
by Willy
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
Redefine Folder oFold1 id 135 of oDlg prompt "1", "2" Dialogs "SubFrm1" , "SubFrm2"
Is there something changed
Thanks
Willy Hermans
Posted: Fri Jun 15, 2007 10:57 am
by driessen
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.
Posted: Fri Jun 15, 2007 11:14 am
by Antonio Linares
Willy,
You have to change "TFolder" into "SysTabControl32" in your resources file
Posted: Fri Jun 15, 2007 11:21 am
by Willy
Thanks for the reply Michel.
Those setteing were already ok.
Changing it to "SysTabControl32" made the difference.
Again a step further.
Thanks Antonio