Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: stef88
  • Content: Threads
  • Order by date
  1. stef88

    structures & unions

    Hello. I have the following structures: typedef struct CSH{ ulong H:8; ulong S:6; ulong C0:2; ulong C:8; }__attribute__((__packed__))CSH; typedef struct CSH1{ ulong H:8; ulong C0:2; ulong S:6; ulong C:8; }__attribute__((__packed__))CSH1; typedef struct partitie{ ulong active:8...
  2. stef88

    casting through different structures

    Hello! I have a PACKED structure defined on 16 bytes and an array of unsigned char. It would be something like this: #define ulong unsigned long typedef struct partition{ ulong active:8; CSH F; ulong sysID:8; CSH L; ulong start; ulong size; }__attribute__((__packed__))partitie; typedef...
  3. stef88

    Messy Problem ( C2501 Error)

    I created a Win 32 Dynamic-Link Library and set up a DLL file. The problem appers when i try to declare variables like: CSTRING var1; HINSTANCE hinstDLL; and others... Does anyone have a solution please? Thank you!
  4. stef88

    Create a global hook

    I'm trying to install a global hook. If i issue this command : hHook = SetWindowsHookEx(WH_KEYBOARD, MouseProc, 0,GetCurrentThreadId()); it works fine, but, of course, this isn't a global hook, it's only a local one. Now, this should be a global hook: hHook = SetWindowsHookEx(WH_KEYBOARD...

Part and Inventory Search

Back
Top