Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

vlidE BUG IN AUTOCAD 2015

1 REPLY 1
Reply
Message 1 of 2
Anonymous
286 Views, 1 Reply

vlidE BUG IN AUTOCAD 2015

I am having problem calling the ObjectARX functions from VLIDE editor. Everything works fine from AutoCAD command prompt. here is the ObjectARX code snippet.

 

Registring the function

--------------------------------------

 

int (*func)() = setVariable;
acedDefun(_T("setVariable"),1);
acedRegFunc(func,1);

 

SetVariable Function

-------------------------------------

 

int setVariable()
{
  struct resbuf *rb = acutBuildList(5005,
  _T("Unicode String"), 5000);
  int resval = acedPutSym(_T("test"), rb); 
  acutRelRb(rb);
  return 1;

 

 

If I call (setVariable) from AutoCAD command prompt its works fine, but while calling from VLIDE editor the AutoCAD becomes nonresponsive. I cannot do anything on AutoCAD but the VLIDE editor works fine. I cannot even close the VLIDE editor because the Exit menu option goes into disable mode.

 

the Same Arx woks fine in AutoCAD 2014 I am migrating ARX from 2014 to 2015 and I am stuck.

 

Please help me I have tried all possible options but not finding clue.

 

Thanks in advance.

1 REPLY 1
Message 2 of 2
hmsilva
in reply to: Anonymous


@Anonymous wrote:

I am having problem calling the ObjectARX functions ...


Hi keyur4you,

 

should be easier to get help on ObjectARX functions in the ObjectARX forum


Henrique

 

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost