Sully
04-17-2009, 02:38 PM
Has anyone had any luck using DialogMonitorOPS with Max 2008 or Max 2009
running under Vista on a 64 bit machine?
The following code causes Max to crash on my machine with an unhandled
Win32 exception as it exits.
DialogMonitorOPS.unRegisterNotification id:#dm
function dmnotification =
(
WindowHandle = DialogMonitorOPS.GetWindowHandle()
-- do some stuff with the hWnd
true
)
function StartDialogOPS =
(
DialogMonitorOPS.RegisterNotification dmnotification id:#dm
DialogMonitorOPS.Enabled = true
)
function StopDialogOPS =
(
DialogMonitorOPS.unRegisterNotification id:#dm
DialogMonitorOPS.Enabled = false
)
StartDialogOPS()
StopDialogOPS()
quitMAX()
The script I'm working on actually does lots more than this, but this is
the bit that causes the crash.
Thanks
running under Vista on a 64 bit machine?
The following code causes Max to crash on my machine with an unhandled
Win32 exception as it exits.
DialogMonitorOPS.unRegisterNotification id:#dm
function dmnotification =
(
WindowHandle = DialogMonitorOPS.GetWindowHandle()
-- do some stuff with the hWnd
true
)
function StartDialogOPS =
(
DialogMonitorOPS.RegisterNotification dmnotification id:#dm
DialogMonitorOPS.Enabled = true
)
function StopDialogOPS =
(
DialogMonitorOPS.unRegisterNotification id:#dm
DialogMonitorOPS.Enabled = false
)
StartDialogOPS()
StopDialogOPS()
quitMAX()
The script I'm working on actually does lots more than this, but this is
the bit that causes the crash.
Thanks
