



PAtilImage = new Atil::Image(size, pDm, initialImage) InitialImage.type = Atil::DataModelAttributes::kBgra Thanks kubitTilo, really appreciate your replay, this problem solved autocad can load my arx successfully!īut there is still something wrong with my program, i really don't know why.Ĭonst Atil::RgbModel* pDm = new Atil::RgbModel(Atil::RgbModelAttributes::k4Channels,Ītil::DataModelAttributes::kBlueGreenRedAlpha) pAtilImage = new Atil::Image() if(pAtilImage = NULL) - Have you any ideal how to solove this problem? Thanks! But when I new an Image without any parameter as follow, it works ok. My program is as follow: - Atil::Image* pAtilImage = NULL Atil::ImagePixel initialImage const Atil::Size size(100,100) const Atil::RgbModel* pDm = new Atil::RgbModel(Atil::RgbModelAttributes::k4Channels, Atil::DataModelAttributes::kBlueGreenRedAlpha) tToZero() initialImage.type = Atil::DataModelAttributes::kBgra = 0xff000000 pAtilImage = new Atil::Image(size, pDm, initialImage) - My program crash at line:pAtilImage = new Atil::Image(size, pDm, initialImage) the error message vs gives as follow: Unhandled exception at 0x000007fefd89a49d in acad.exe:Microsoft C++ exception: Atil::Image Constructon Exception * _ptr64 at memory location 0x2292f608. Thanks Alexander.Rivilis, really appreciate your replay, this problem solved autocad can load my arx successfully! But there is still something wrong with my program, i really don't know why.
