Results 1 to 2 of 2

Thread: Capture general mouseclicks with DSMOUSE.DLL

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Posts
    91

    Capture general mouseclicks with DSMOUSE.DLL

    I have some trouble captering the general mouseclicks (outside VB6 app)
    I use Word Automation (set AppWord= createobject("Word.application') )and try to capture the mousclicks on it (alsso the up and down event)

    I now use DSMOUSE.DLL to do the job, a free dll available i found on the net.
    It triggers a CallBack function when a mouse event in general is triggered
    Does anyone have experience with this dll
    Now i have two problems with it.
    First I had an older version this allowed using my AppWord commands in the callback function. Now in the newer DLL version i get an automation error at the first Appword command.
    In the older DLLversion using AppWord works but i had the problem that on slower machines (300 op to 1Ghz) the mouseup event wasn't allways triggered, you had to push the mousbutton down longer to trigger it and events where triggerd multiple times. Allso on both versions when an error occurs in the code the VBeditor allways crashes.

    I want to have correct mouseevents and not really want to use say a timer and GetAsyncKeyState API because this not captures the clicks just when they happen.
    And tried it in a test module, did'nt work properly in combination with word it skipped some.

    Or maybe there is a better DLL
    Can somebody help me please, got stuck here.

  2. #2
    Lively Member fifo's Avatar
    Join Date
    Dec 2005
    Location
    HaiPhong, Vietnam
    Posts
    77

    Re: Capture general mouseclicks with DSMOUSE.DLL

    yeah, i have this DLL, too. its not good. Some case its not wook.
    I need your help.
    !Have fun!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width