如何避免 GDI+ 中 Image 的 SelectActiveFrame 函数抛异常?
在使用Image的SelectActiveFrame时在vc的output中总会报如下异常:
First-chance exception at 0x4afdb280 in testgdiplus.exe: 0xC0000005: Access violation writing location 0x01dd0016
但函数的返回值是 Ok ,功能也没有问题。
请问各位大侠,我现在想去掉这个Exception,有办法么?