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. C#
  4. help in dll

help in dll

Scheduled Pinned Locked Moved C#
c++help
2 Posts 2 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.
  • S Offline
    S Offline
    SherKar
    wrote on last edited by
    #1

    HHOOK h; LRESULT CALLBACK CallWndProc(int nCode,WPARAM wParam,LPARAM lParam) { switch(nCode) { case WM_SIZING: return 0; break; case WM_MOVING: return 0; break; default: return CallNextHookEx(h,nCode,wParam,lParam); } } void InstallHook() { h=SetWindowsHookEx(WH_CALLWNDPROC,CallWndProc,0,0); } this code if made in mfc dll but i have 2 problems : 1- i dont know if the created DLL is created correctly or not 2- i used this DLL in another app and called InstallHook but a big msg appears said that there is no entry piont for the installhook in the dll if anyone knows anything plz reply me

    C 1 Reply Last reply
    0
    • S SherKar

      HHOOK h; LRESULT CALLBACK CallWndProc(int nCode,WPARAM wParam,LPARAM lParam) { switch(nCode) { case WM_SIZING: return 0; break; case WM_MOVING: return 0; break; default: return CallNextHookEx(h,nCode,wParam,lParam); } } void InstallHook() { h=SetWindowsHookEx(WH_CALLWNDPROC,CallWndProc,0,0); } this code if made in mfc dll but i have 2 problems : 1- i dont know if the created DLL is created correctly or not 2- i used this DLL in another app and called InstallHook but a big msg appears said that there is no entry piont for the installhook in the dll if anyone knows anything plz reply me

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Perhaps if you post this on the Visual C++ forum[^] someone might be able to help.


      "You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar The Second EuroCPian Event will be in Brussels on the 4th of September Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way! My Blog

      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