I think this API is great, and I got v3, but even though the docs say it’s supported for NN4+, (yes I know it’s a beta) it seems it has been tested on NN 4.73: the most “stable” NN4.
I have found that 4.03 is even flakier, which is why I use it. Every example had a bucketful of errors, most of them stemming from a “function does not always return a value” error.
There are a lot of empty “return;” statements in the code, so I made a quick hack by replacing them with “return null;”. That took care of many of the errors, not all. The rest (still stemming from the “function does not always return a value” errors) were from conditional return statements in a function, without a final “default” return statement if none of the conditions are met. So I added “return null;” to these functions as well.
I don’t know if I broke anything by doing this, but going one by one through the examples and adding “return null;” statements as I found errors, I got up to the “MotionX” example and everything that far works fine now on NN 4.03, NS 7.02, IE 6, and Mozilla 1.4 in WinXP.
I intend to test on Linux later. |
- Re: [Dynapi-Help] DynAPI 3 - Netscape 4.03 port C Kissinger
- Re: [Dynapi-Help] DynAPI 3 - Netscape 4.03 port Raymond Irving
- Re: [Dynapi-Help] DynAPI 3 - Netscape 4.03 por... Jack Chung
- Re: [Dynapi-Help] DynAPI 3 - Netscape 4.03... Robin Becker
- [Dynapi-Help] Fixes for GUI, FX and co... Raymond Irving
- Re: [Dynapi-Help] Fixes for GUI, ... George Porterfield
- Re: [Dynapi-Help] Fixes for G... Raymond Irving
- Re: [Dynapi-Help] DynAPI 3 - Netscape 4.03... Adeola Awoyemi
- Re: [Dynapi-Help] DynAPI 3 - Netscape ... Raymond Irving