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.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.
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)
↧
New Post: Native mode error
↧