Okay, for Blitz 2.1, you'll need to use a different value to 0 for the Dim statement - large enough to contain the maximum number of items you might want to show in the list. And you must make sure you don't exceed this number.
The constant not found error is due to not having the amigalibs.res file entered in the compiler settings. You need this to use any OS flags and structures. Add
Blitzlibs:amigalibs.res
to the resident files section of the Compiler settings/options.
The GTNewLookProp command isn't essential - you can probably achieve the same result using GTTags and the relevant values, but just comment it out for testing purposes. There are a couple of different versions of the GadToolsLib floating around - I suspect the command is simply missing from the one you have. I'll check it out though and see what's going on.
|