I had someone provide me with a DLL as a demo for another project. It is in Delphi but I program in VB6. So i need someone to create a small project in VB6 and use this DLL. It provides the rect area of a screen change. The demo dll will only work for 60 seconds just to let you know.
So with the info me gave me below, create a VB6 project and get the left,top,right,bottom parameters from it and I guess save them to a text file. If you display them on screen, the dll will see it as a screen change. This should be simple for someone.
ONLY BID IF YOU CAN DO IT RIGHT NOW! Thanks
See attachment for DLL and here is the info for it. Must unhook at end of app.
i've done a demo. the functions are called like you desired:
SetHook(window_to_get_messages,SCREEN_UPDT_MSG,MOUSE_UPDT_MSG),
however MOUSE_UPDT_MSG doesn't work yet. If we come to an agreement i'll make it work.
and UnSetHooks();
i don't know VB very much, i think this is how you should declare the functions:
Declare Function SetHook Lib "[login to view URL]" (ByVal hwnd As Long, ByVal SC_Msg As Long, ByVal MS_Msg As Long) As Long
and
Declare Function UnSetHooksLib "[login to view URL]" () As Long
to intercept updates you will need to intercept the
SCREEN_UPDT_MSG sent to your window.
-wparam contains the top-left coordonates of the rectangle
-lparam contains the right-bottom coordonates of the rectangle
use loword and hiword to get the actual coordonates
i.e: LOWORD(wparam) - left
HIWORD(wparam) - top
LOWORD(lparam) - right
HIWORD(wparam) - bottom
Note that you may get hundreds of updates per second and also that system hooks don't always get everything that is modified in screen.
## Deliverables
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).
## Platform
VB6 only