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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -