there is a little difference between the toolinfo structure from masm and msdn page.
hWnd in masm
hwnd in msdn
hInst in masm
hinst in msdn
is that ok?
TOOLINFO STRUCT
cbSize DWORD ?
uFlags DWORD ?
hWnd DWORD ?
uId DWORD ?
rect RECT <>
hInst DWORD ?
lpszText DWORD ?
lParam LPARAM ?
TOOLINFO ENDS
typedef struct tagTOOLINFO{
UINT cbSize;
UINT uFlags;
HWND hwnd;
UINT_PTR uId;
RECT rect;
HINSTANCE hinst;
LPTSTR lpszText;
#if (_WIN32_IE >= 0x0300)
LPARAM lParam;
#endif
} TOOLINFO, NEAR *PTOOLINFO, *LPTOOLINFO;
diablo2oo2,
The structure works fine but these things have changed in reference over time so its not a problem. The problem with changing it after it has been in that form for so long is it will break code that has used the existing form.