?
Solved

Handwritten signature verification using visual c++

Posted on 1998-08-11
3
Medium Priority
?
344 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 80 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

801 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