PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Anonymous on October 14, 2004, 07:31:04 AM

Title: Error 443
Post by: Anonymous on October 14, 2004, 07:31:04 AM
Whenever I try to compile the Tabcontrol demo I get error 443
I've searched this forum but found no real answer.
I use PB version 7 and FF 1.07...

Any help

BTW Great product, hope to buy it soon
Title: ERROR 443 in TAB CONTROL DEMO
Post by: gian young on October 14, 2004, 10:37:56 PM
8)

In order to target the area where your syntax error is occuring try compiling the project directly out of Power Basic by loading the file TabControl_Demo_MAIN.bas that can be found in Samples TABCONTROL\RELEASE Folder.


This Syntax error by Power Basic occurs in the FireFly generated file “TabControl_Demo_FRMMAINFORM_FORM.INC” that can be found in the Samples TABCONTROL\RELEASE Folder.

Locate the code area as below.

'Destroy tab control image lists
FF_nResult = TabCtrl_GetImageList(HWND_FRMMAINFORM_TABCONTROL1)
IF FF_nResult THEN ImageList_Destroy(FF_nResult)  The ERROR 443 OCCURS HERE

For the version of Power Basic that you are using the line where the error occurs should be edited to read.

IF FF_nResult THEN Call ImageList_Destroy(FF_nResult)

Save this modified code then reload TabControl_Demo_MAIN.bas in Power basic and recompile, this should fix it.

The latest version of Power Basic is 7.04, up date to this and it should overcome this problem.

Gian Young
Dataman Barcode Systems
Australia
Title: Error 443
Post by: TechSupport on October 14, 2004, 10:54:48 PM
Thanks Gian, you are 100% correct.

I will modify the code generation for destroying the Image List so that it uses the Call syntax.
Title: Error 443
Post by: Anonymous on October 15, 2004, 01:12:03 AM
Thanks, I updated to 7.04 and everything works fine (didn't even know that there was a .04 version!)