Solved

Handwritten signature verification using visual c++

Posted on 1998-08-11
3
340 Views
Last Modified: 2013-11-20
I am building a project titled handwritten signature verification. I am using visual c++ for my project. In the project, I am to do a software to obtain a signature and do some image manipulation to calculate a few values, negative slant, positive slant and its baseline values. Once I got the values I will need to go to the database to get the pre-stored values of that particular customer and compare both of them to see if they match. How am I suppose to build the database system and make it interact with my program. I am also using visual c++ to write the database. Now I can only manage to do a database to store the values. What commands should I put in my software to call the values from the database to be compared and match.
0
Comment
Question by:cheeonn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Author Comment

by:cheeonn
ID: 1320553
Please advice..I am desperate for the answer. Thanking you in advance
0
 
LVL 7

Accepted Solution

by:
psdavis earned 40 total points
ID: 1320554
Don't try to write it yourself, you'll spend the majority of your project time on it.

Definitely use either ODBC or DAO for your database.  MFC has full support for these database schemas.  I personally like DAO for all of my development, especially if you don't have to link in with foreign databases.

You can develop your database schema with Microsoft Access and create CDaoRecordset objects from those schemas.  The documentation is not excessive, but there's enough to get you going quite well.

Take a look at the CDaoDatabase and CDaoRecordset classes.  It will definitely give you everything you need.

Phillip
0
 

Expert Comment

by:anil_ku
ID: 1320555
Hi
For the database implementation there are different ways u can implement. But i will prefer the direct ODBC functions. Because u will get flexibility here. So don't for MFC classes if u have limited access in database it is better to go for MFC classes
To use ODBC do thge following
1) Create DSN..From control pannel ( 32 bit ODBC)
2) Connect to that DSN by using SQLConnect() , U will get sample code of it from VC help
3) Then befor each sql command execution You have to call sqlAlloc() and after execution you have to execute SqlFreeMem()
4) By using SqlExecDirect you can open data from database

retcode = SQLAllocStmt(hdbc,&hstmt);
retcode = SQLPrepare(hstmt,(UCHAR                  *)(LPCTSTR)csSQLstring,SQL_NTS);
if(retcode = SQLExecDirect(hstmt,(UCHAR               *)(LPCTSTR)csSQLstring, SQL_NTS)== -1)
{
    szError = SqlError(); // Check SQLError(...)
    throw (LPSTR)(LPCTSTR)szError;
}
SQLBindCol(hstmt,i+1, SQL_C_SLONG, &(tempst[i].intvalue), 0,         &cbintfield);
//-----------
//---------( depends on the parameters - fields in the csSQLstring )
//-query)

while (TRUE)   // to do until the specified row
{
    retcode = SQLFetch(hstmt);// in the first fetch will get first //record second fetch second and soon
}

5) all types are availabel in VC help

Try this and implement in ur way
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question