PDA

View Full Version : DialogMonitorOPS and 64 bit Vista crashing Max


Sully
04-17-2009, 03: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

CGTalk Moderation
04-17-2009, 03:38 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.