Error 443

Started by Anonymous, October 14, 2004, 07:31:04 AM

Previous topic - Next topic

Anonymous

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

gian young

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

TechSupport

Thanks Gian, you are 100% correct.

I will modify the code generation for destroying the Image List so that it uses the Call syntax.

Anonymous

Thanks, I updated to 7.04 and everything works fine (didn't even know that there was a .04 version!)