Call SendMessage(hwnd1, WM_GETTEXT, iLength, ByVal ReceivedText)

gets a Bad DLL Calling Convention

If I remove the ByVal I get some automation errors.

Please help.

P.S. Everything is declared, all hWnd's are working, iLength is a non-zero Long from WM_GETTEXTLENGTH, and WM_SETTEXT works.

------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470 Add Me ICQ Me
AIM: TomY10
PERL, JavaScript and VB Programmer