Scanning a Database???

Okay,
    I am making a program with a login screen.  The Username is stored in eUsername[9]  and the password in ePasswordMusic.  I want to check these against a file or better yet a database.  How do I do that.  The Win32 API only please, "the program is not to be written in Visual C++."  Thank you in advance.




Answer this question

Scanning a Database???

  • Rajeev Gupta

    I have two strings.  And I have to make a program that silently opens a database and checks stringOne against one column for a match and stringTwo against another column for a match(but stringTwo will only check if stringOne returns TRUE.  I went "googling" and found that i should use the DTL.  The problem is, I don't understand it, and I don't have the DTL header files, and I can't seem to find any.  Any help would be appreciated.



  • Nelson Morais

    What is DTL (Database Template Library ).

    If you want to access a 3rd party database from C++ then you must use the database vendors C++ binding (or more usually C binding) for the specific database that you are using. There is no Standard C++ or Win32 way to do this.



  • Ufirst

    Give us more information.
    The sentence:
    The Win32 API only please, "the program is not to be written in Visual C++."
    does not make any sense to me.

    Tell us more about your problem and buy&read a book about programming in C++.



  • Scanning a Database???