Results 1 to 9 of 9

Thread: something missing in API Viewer???

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    turkey
    Posts
    11
    Hi All...

    In API Viewer, I only see Win32api, mapi32 and Apiload.
    Can somebody tell me how to add some other files?

    Thank you...

  2. #2
    Guest
    Just change the directory/path to whatever file you want.

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    turkey
    Posts
    11
    But I don't have those files. How will I find'em?

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    What do you need files for? The ones supplied cover the Win32 API and the Mail API in pretty good detail, however some recent things will be missing. For those you can just go to MSDN and get the prototype, then convert it to VB (not tricky).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    turkey
    Posts
    11
    Thank you for info. But I think it's more complicated than I think.

    ...converting???

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    For example, MSDN gives this for SendMessageA:

    Code:
    LRESULT SendMessageA(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
    Then to convert the data types. In this case they all become Long, so you end up with:
    Code:
    Public Declare Function SendMessageA Lib "kernel32" (ByVal hWnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  7. #7

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    turkey
    Posts
    11

    Wink

    Got it... thanks...

  8. #8
    Guest
    Be careful not to convert everything to long, though. LPCSTR, LPCTSTR, LPSTR lpsz???? all converts to a String.

  9. #9
    Guest
    Or why don't you just go to www.allapi.net and download their software? It contains more documentation than the standard API viewer.

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