[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.drawing

Using ImageCodecInfo::GetImageEncoders in Mangaged C++

DanH

1/21/2005 6:45:00 PM

When I try to compile this line:

int count = (ImageCodecInfo::GetImageEncoders())->Count;

in a Managed C++ program, I get the same error message twice:

error C2691: 'unsigned char __gc[]' : invalid type for __gc array element.
error C2691: 'unsigned char __gc[]' : invalid type for __gc array element.

This does not make any sense to me. Does anyone know the solution to this
problem?

Thanks

Dan