Griaule Biometrics

Home » Forums » FINGERPRINT SDK » .NET Specific » Fingerprint scanning in a Windows Service
No replies
alvarog
Offline
Joined: 2008-10-02
Rate this post:
0
No votes yet
Fingerprint scanning in a Windows Service

I am in the midst of developing a suite of applications that require fingerprint scanning and, based on a number of factors have decided that the best approach is a Windows service to manage the fingerprint scanner.

The first problem I encountered was that (at least in VS2005) Windows services don't like ActiveX controls. I set about writing a C# wrapper for the GRFinger.dll as suggested in other posts to eliminate the ActiveX component. This does work except that it is unstable, I expect because I am doing something not quite right with the marshalling or unsafe code joining the dll to the managed code. I am specifically suspicious of the ImageAcquired call back / delegate.
Does anyone have a (full or sample) codeblock for a C# wrapper of the GrFinger.dll, or an alternate method of incorporating it into a Windows service?

thanx in advance

denis