For performance reasons, we need to rewrite some code in unmanaged C++ under Microsoft Visual C++ .NET (7.x) with Microsoft Foundation Class.
We would like a “[login to view URL]? written in unmanaged C++ under Microsoft Visual C++ .NET (7.x) with MFC.
The DLL will have the following functions:
1) Read a configuration file named “[login to view URL]? (see attached sample) that specifies the MySQL 5.x database connection string and other information.
2) Parse a URL string consisting of a site name, page and query string, such as "[[login to view URL]][1]" into into “site??, “page?? and “query??
3) Write the "site" name to a local memory cache.
4) Detect if a "site" name is in the local memory cache.
5) Strip the "GET" variables and parameters specified in the configuration file (such as VarA=1 or VarB=2) from the URL query string.
6) Detect if the URL string "site" does a regular expression match against the string specified by “InhibitParse?? or “InhibitStore?? in the configuration file. (Please see the “[login to view URL]? for sample Skip/Inhibit code.)
7) Generate a SHA1 hash value from a string.
8) Write a record to a MySQL database.
9) Read a record from a MySQL database.
10) Log progress and errors in a file called “[login to view URL]? (see attached).
The DLL may connect to MySQL using the standard MySQL Connector ([login to view URL]), and can use any compatible GPL zip compression library for the HTML compression (such as [[login to view URL]][2]).
The winning candidate will:
1) Include the string “XYZZY?? in their bid response to demonstrate that they have actually read this bid request, and that it is not a response from a robot program.
2) Provide samples or links to his or her work.
## Deliverables
The final result will be:
1) A “[login to view URL]? written in unmanaged C++ under MSVC7 with MFC.
2) The DLL will perform the ten functions listed above.
3) A simple test program to demonstrate the functionality.
The code must be modular and well documented in a neat and readable way. It must run without any compiler and logical errors. The DLL will be written in unmanaged C++ under Visual Studio 2003 Microsoft Visual C++ .NET (7.x) with MFC.
You will finish with:
1) A Visual Studio 2003 Microsoft Visual C++ .NET (7.x) MFC project for “[login to view URL]?.
2) The ability to demonstrate that the functions work as specified.
Additionally:
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition.
## Platform
A Visual Studio 2003 Microsoft Visual C++ .NET (7.x) unmanaged dynamic-link library that uses the Microsoft Foundation Class library.