Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. creating a hook dll in vb to be used in vb

creating a hook dll in vb to be used in vb

Scheduled Pinned Locked Moved Visual Basic
c++tutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    percyvimal
    wrote on last edited by
    #1

    Sir To create a hook dll people recomending to create a dll in visualc++ and use that in vb. Is it not possible to create a vb dll for a creating a system wide hook dll for example keybaord hook dll and use the same way as we use dll made from vc++ or delphin software. Please give me suggestions what are the draw backs in creating a vb dll and what are the constraints we have to consider in creating a dll in vc++ that can be used in vb for the purpose of system wide hook Thanks in advance rvvimal

    J 1 Reply Last reply
    0
    • P percyvimal

      Sir To create a hook dll people recomending to create a dll in visualc++ and use that in vb. Is it not possible to create a vb dll for a creating a system wide hook dll for example keybaord hook dll and use the same way as we use dll made from vc++ or delphin software. Please give me suggestions what are the draw backs in creating a vb dll and what are the constraints we have to consider in creating a dll in vc++ that can be used in vb for the purpose of system wide hook Thanks in advance rvvimal

      J Offline
      J Offline
      J Dunlap
      wrote on last edited by
      #2

      percyvimal wrote: Is it not possible to create a vb dll for a creating a system wide hook dll Nope. Sorry. :( But you might look around for a system-wide hook DLL that's meant for use with .NET. Remember, btw, that you should only use system-wide hooks where absolutely necessary. ;)

      **"Have a heart that never hardens, a temper that never tires, a touch that never hurts." -- Charles Dickens

      FLUID UI Toolkit | FloodFill in C# & GDI+**

      P 1 Reply Last reply
      0
      • J J Dunlap

        percyvimal wrote: Is it not possible to create a vb dll for a creating a system wide hook dll Nope. Sorry. :( But you might look around for a system-wide hook DLL that's meant for use with .NET. Remember, btw, that you should only use system-wide hooks where absolutely necessary. ;)

        **"Have a heart that never hardens, a temper that never tires, a touch that never hurts." -- Charles Dickens

        FLUID UI Toolkit | FloodFill in C# & GDI+**

        P Offline
        P Offline
        percyvimal
        wrote on last edited by
        #3

        Thanks sir, But if you could provide me what are the important things that is necessary for creating a vc++ dll like i didnt understand the address parametes where u need to send the address of the call back function and how the function should be decalared in vc++ etc then it will be really helpful to me thanks in advance

        D 1 Reply Last reply
        0
        • P percyvimal

          Thanks sir, But if you could provide me what are the important things that is necessary for creating a vc++ dll like i didnt understand the address parametes where u need to send the address of the call back function and how the function should be decalared in vc++ etc then it will be really helpful to me thanks in advance

          D Offline
          D Offline
          Duncan Edwards Jones
          wrote on last edited by
          #4

          The hook types WH_KEYBOARD_LL, WH_MOUSE_LL, WH_JOURNALRECORD and WH_JOURNALPLAYBACK can be written perfectly well in VB5 or 6. The others require the hook procedure to be in the dll exports section which is not possible in VB. '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups