Click to See Complete Forum and Search --> : something missing in API Viewer???
forsaken
Mar 17th, 2001, 03:35 PM
Hi All...
In API Viewer, I only see Win32api, mapi32 and Apiload.
Can somebody tell me how to add some other files?
Thank you...
Just change the directory/path to whatever file you want.
forsaken
Mar 17th, 2001, 04:41 PM
But I don't have those files. How will I find'em?
parksie
Mar 17th, 2001, 04:46 PM
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).
forsaken
Mar 17th, 2001, 05:03 PM
Thank you for info. But I think it's more complicated than I think.
...converting???
parksie
Mar 17th, 2001, 05:09 PM
For example, MSDN gives this for SendMessageA:
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:
Public Declare Function SendMessageA Lib "kernel32" (ByVal hWnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
forsaken
Mar 17th, 2001, 05:24 PM
Got it... thanks...
Be careful not to convert everything to long, though. LPCSTR, LPCTSTR, LPSTR lpsz???? all converts to a String.
Or why don't you just go to www.allapi.net and download their software? It contains more documentation than the standard API viewer.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.