Is there some reason that you can't use Win32::GUI::SendMessage()?
In reply to Re: Getting the actuall address of a scalar by BrowserUk in thread Getting the actual address of a scalar by jplindstrom