ADS acedCommand() function help

ADS acedCommand() function help

Anonymous
Not applicable
425 Views
1 Reply
Message 1 of 2

ADS acedCommand() function help

Anonymous
Not applicable
Hello all,

it appears that 2007 ARX is way different than 2005. My acedCommand() parameters are throwing some strange stuff to autoCAD. Do I need to cast my string values as something new now? Help please, my .arx file compliles and links just fine, but when it runs in autocad, it spits garbage on the comand line and tells me "invalid command" I've narrowed it to the following line of code....

rc = acedCommand(RTSTR,"rectangle",RTSTR,"0,0",RTSTR,"5,5",RTNONE);

it doesn't like my strings. I think i need to cast these as a unicode value or something... thanks all for the help.

CK
0 Likes
426 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
2007 is Unicode, so you need to convert.

See the migration guide contained in docs\arxwhnew.chm.

Chris Arps
0 Likes