DDE Call Causes Freeze (OpenInsight 32-Bit)
At 19 OCT 2004 12:49:35PM Mark Glicksman wrote:
I use the following subroutine to send a DDE message from OI 4.12 to the AutoCAD command line. It works fine, on every machine and configuration its been used on, except one - a Windows 2000 machine using Novell Client for Windows, with OI loaded on a Netware server using the Universal Driver. Every time the subroutine is called, OI freezes. I think the one thing that may be different about this configuration vs. other running the same software is the combination of Novell and Universal Driver.
Can anyone please suggest a solution. The code follows:
Subroutine Send_Acad_Msg(MsgTxt)
*
Declare function Set_Property
$Insert User_Var_Defs
common declarations for user (US) variablesEqu AcadRel TO US18
Begin Case
Case AcadRel1,2=LT"
DDEService=AUTOCAD LT.DDE"Case AcadRel=AutoCAD 2004"
DDEService=AutoCAD.r16.DDE"Case 1 ;*(AutoCAD 200/2002)
DDEService=AUTOCAD.R15.DDE"End Case
Retval=Set_Property("MAINMENU.ACAD_SEND_EDITLINE", 'DDESERVICE', DDEService)
Retval=Set_Property("MAINMENU.ACAD_SEND_EDITLINE", 'DDETOPIC', 'SYSTEM')
Retval=Set_Property("MAINMENU.ACAD_SEND_EDITLINE", 'DDELINK', 'AUTO')
Retval=Set_Property("MAINMENU.ACAD_SEND_EDITLINE", 'DDECOMMAND' ,MsgTxt)
Retval=Set_Property("MAINMENU.ACAD_SEND_EDITLINE", 'DDELINK', 'OFF')
Return
At 19 OCT 2004 04:10PM Mark Glicksman wrote:
I don't know exactly why, but changing the revparam file to read ServerOnly=1 instead of Serveronly=True fixed the problem.