2012-10-08 05:07 UTC
I did an upgrade to my production computer that led to a reformat of the hard drive. After a fresh install of Win7 64bit Home Premium, Bricscad 12.2.18, and OpenDCL 7.0.0.8 I'm having trouble with an OpenDCL modeless dialog. The dialog worked properly before the reformat and the same routine, loaded from a network drive, runs properly on another computer in the office with the same OS and Bricscad versions. When the ODCL file loads I get 13 pop-ups that read:
An OpenDCL function argument processing exception has occurred!
Error: Nil value not allowed
Function: dcl_Control_GetPicture
Argument: 1
There are 13 buttons on the dialog. All of the buttons have similar code to:
(if (= (vlax-variant-value (vla-getvariable acaddoc "ORTHOMODE")) 1)
(if (= (dcl_Control_GetPicture ModeBar_ModeBar_OrthoButton) 100)
(dcl_Control_SetPicture ModeBar_ModeBar_OrthoButton 101) ; ortho down
)
(if (= (dcl_Control_GetPicture ModeBar_ModeBar_OrthoButton) 101)
(dcl_Control_SetPicture ModeBar_ModeBar_OrthoButton 100) ; ortho up
)
)
I've uninstalled and reinstalled both Bricscad and OpenDCL with no change. I rebuilt the picture folder for the routine wth bitmaps that are in the Bricscad path, but no change. The I have the same problem whether I run a local copy or a network copy of the OpenDCL program. All the other OpenDCL functions I run are working well.
Things like this usually mean I missed something simple. Any suggestions on how to fix this would be appreciated.
An OpenDCL function argument processing exception has occurred!
Error: Nil value not allowed
Function: dcl_Control_GetPicture
Argument: 1
There are 13 buttons on the dialog. All of the buttons have similar code to:
(if (= (vlax-variant-value (vla-getvariable acaddoc "ORTHOMODE")) 1)
(if (= (dcl_Control_GetPicture ModeBar_ModeBar_OrthoButton) 100)
(dcl_Control_SetPicture ModeBar_ModeBar_OrthoButton 101) ; ortho down
)
(if (= (dcl_Control_GetPicture ModeBar_ModeBar_OrthoButton) 101)
(dcl_Control_SetPicture ModeBar_ModeBar_OrthoButton 100) ; ortho up
)
)
I've uninstalled and reinstalled both Bricscad and OpenDCL with no change. I rebuilt the picture folder for the routine wth bitmaps that are in the Bricscad path, but no change. The I have the same problem whether I run a local copy or a network copy of the OpenDCL program. All the other OpenDCL functions I run are working well.
Things like this usually mean I missed something simple. Any suggestions on how to fix this would be appreciated.