Quantcast
Channel: Saraff.Twain.NET
Viewing all articles
Browse latest Browse all 419

New Post: Native mode error

$
0
0
Saraff.Twain.TwainException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Saraff.Twain.DibToImage.WithStream(IntPtr dibPtr)
at Saraff.Twain.Twain32._NativeTransferPictures()
at Saraff.Twain.Twain32._TwCallbackProcCore(TwMSG msg, Action`1 endAction)
at Saraff.Twain.Twain32._TwCallbackProc(TwIdentity appId, TwIdentity srcId, TwDG dg, TwDAT dat, TwMSG msg, IntPtr data)
I have followed the CSharp Sample3 (console project) to the letter and I get that error in my application, the sample project works fine. THe scanner is a mini-desk brick thing Brother DS820W.

Viewing all articles
Browse latest Browse all 419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>