Board index » cppbuilder » Strange problem
Peter Hellinger
![]() CBuilder Developer |
Strange problem2003-07-23 05:57:14 AM cppbuilder51 Hi folks! I have a strange problem with the C++Builder 6 IDE. I have developed a wizard (PaletteBar) which is distributed as a BPL-file. The wizard is written in D6/7 and runs there without any problem. Normally I can load a D6 BPL in to CB6 and use it there (PaletteBar before Version 3.00 did so). The new version 3.00 of PaletteBar (including Docking support and others) comes now up with an error in the CB6 IDE (translation from the german error text): Registerprocedure pb_main.Register in package <youknowwhat>has caused a EReadError: Error reading ImageList->Bitmap. ImageList data could not read from stream. This happens when I call the Create function of the main form: procedure Register; begin // Stuff for docking RegisterFieldAddress (cWizardName, @FPaletteBar); RegisterDesktopFormClass (TPaletteBarForm, cWizardName, cWizardName); // create the main form FPaletteBar:= TPaletteBarForm.Create (Application); end; The OnCreate Event is never fired, the error above is happend before. When I delete the bitmaps in the ImageList, the wizad is loaded by CB6 without any problem, and all functions are working well. The same BPL loaded with D6 runs also without any problem. Has anybody a hint for me whats going on, and how can I solve this? Helli |