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

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -