I have an old C++ Builder project that i want to rebuild with BCB XE8.
This project relies on Graphics32 library, which is a Dephi project. I wanted to update to most recent version of the library, but having upgraded only the C++ builder personality to XE8 i managed to build the Delphi packages with MsBuild from the command line and install the debug package into the IDE.
My code builds successfully but at runtime, when i instantiate a new TTagBitmap (extended from Graphics32 TBitmap32) i get an access violation exception right in the constructor. Looks like if the super class TBitmap32 is not allocated in some way, and everything crashes.
My code:
Code: Select all
class TTagBitmap: public TBitmap32 {
public:
TTagBitmap( TColor32 col, TColor32 col2 );
};
Code: Select all
TTagBitmap::TTagBitmap( TColor32 col, TColor32 col2 ) {
(...)
}
Tried also to explicitly call the TBitmap32 constructor (now it calls the default constructor) but nothing changes.
With pre 1.5 Graphics32 there were no problem at all, but now i'm stuck into a loop.
Any help would be wonderful.
Thanks! Umberto