in reply to Getting the actual address of a scalar
Is there some reason that you can't use Win32::GUI::SendMessage()?