OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Jim Short on March 31, 2009, 07:48:19 PM

Title: Entmake and ActiveX Interference
Post by: Jim Short on March 31, 2009, 07:48:19 PM
Extension Dictionary xRecord writes using entmake may fail or throw an error when called inside an OpenDCL event. Use of VLax methods that do not use entmake will work around this problem.
Title: Re: Entmake and ActiveX Interference
Post by: Fred Tomke on March 31, 2009, 11:14:46 PM
Hi, Jim,

did you have such experiences in modal forms? If so, try to do it from modeless forms (or dockable forms or palettes) from an event of a control whose property EventInvoke is set to "AllowCommand". It should work then. I also had experiences that some other types of extended data were not set although using vlax-... functions, for instance vlax-ldata-put. That may fail, too. But you are right - vla-functions have much more success in several situations.

Fred
Title: Re: Entmake and ActiveX Interference
Post by: Jim Short on April 01, 2009, 10:37:23 AM
Fred,

My experience was with non-modal forms. Much as been said about ldata frailty on other news groups. I never used those functions. I would be interested in knowing about any other xrecord write failures using VLAX and OpenDCL.

Thanks,
Jim
Title: Re: Entmake and ActiveX Interference
Post by: Fred Tomke on April 02, 2009, 11:28:46 PM
Jim, you wrote that you call writing XRecords from modless forms. Are these events called by controls with the property EventInvoke = AllowCommand?

Fred