The goal for this project is to create a dialog using Win32 only with as little external dependencies as possible (no MFC, no ATL, no msvcrt).
The DLL will create a new thread upon DLL_ATTACH and return. Then the dll will wait an amount of time as defined by a function int GetNextTimeInSeconds(). For now, this will return 60 but I will add code later myself.
Once the timer hits, another function is called int GetPassword(). This function can be coded to return 1 right now also or "yes".
Once this condition is met you must create a Win32 dialog that asks for 5 sets of 4 numbers. It will also display a number in the same form, 4 sets of 4 numbers. This will be returned by the function int **GetUserKey which can be random for now.
Once the dialog is shown, the user may not be allowed to click any other window. This means you must intercept MOUSE_HOOK_LL such that no other window can become active until the user enters this key.
The dialog will also have some information text, a bitmap logo, and an accept button. There is no cancel button. Entering the code is required once the dll is loaded and the time has passed.
The code must be verified with a function. You must use a simple function (if the code number starts with 1 say yes) for this project.
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, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
Win32 on Vista, Windows XP, XP SP2, Win 2000.