c++ - Not enough storage to process this command excetion in CreateBitmapSourceFromMemorySection -
i working wpf c# , using dependency project in managed c++. have create bitmap dicom file. got "not enough storage process command" exception in createbitmapsourcefrommemorysection
the piece of code this:
bmpsou = safe_cast<interopbitmap^>(system::windows::interop::imaging::createbitmapsourcefrommemorysection( intptr(section), di->getwidth(), di->getheight(), pixelformats::bgr32,di->getwidth() * 4, 0 )) ;
can please suggest solution resolve issue
Comments
Post a Comment