|
-
June 24th, 2002, 09:41 AM
#1
ImgScan or other scanner control in .NET?
I'm working on a project in C# and it requires interaction with a scanner. With previous versions, I'd use the ImgScan control(imgscan.ocx) and it worked well. I've tried using this with C# and regardless of what I do, I receive the following error:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
Additional information: Catastrophic failure
Has anyone used this control and perhaps I'm doing something wrong? Is there another API or class that I can use with .NET without a wrapper? Below is a section of code which kicks off this exception:
static void Main(String[] args)
{
ScanLibCtl.ImgScanClass x = new ScanLibCtl.ImgScanClass();
x.AboutBox();
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|