J'utilise:OutOfMemoryException avec Clipboard.getData et PRTSC
SendKeys.SendWait("+{PRTSC}");
InteropBitmap interopBitmap = System.Windows.Clipboard.GetData(System.Windows.DataFormats.Bitmap) as InteropBitmap;
Sur mon ordinateur, tout est ok. Sur un autre ordinateur, j'obtiens une exception OutOfMemoryException. Pourquoi? Comment le résoudre?
Merci d'avance pour votre réponse
Est-ce un 64 bits et un 32 bits? L'ordinateur 64 bits aura une plus grande capacité de mémoire. –
J'ai un 64 bits, l'autre est un 32 bits. Un 32 bits est incapable de faire un écran d'impression d'un bureau à 2 écrans? – Tim