Message 1 of 2
crash in acedCommand(...)

Not applicable
02-06-2007
09:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi ,
in my code i am making two consecutive calls to acedCommand(...)
for one work flow it works fine but for other work flow it crashes on second
call to acedCommand(...).
acedCommand(RTSTR,"-PLOT",RTSTR,"No",RTSTR,"Model", RTSTR, "", RTSTR,
(LPCSTR)printerName, RTSTR, "No", RTSTR, "No", RTSTR, "No",0);
acedCommand(RTSTR,"_preview",0); // crashing at this line.
the above two lines are written inside a function which is itself run in
response to a registered command.
Can anyone help me to figure out why it is happening
thanks in advance.
Ravi
in my code i am making two consecutive calls to acedCommand(...)
for one work flow it works fine but for other work flow it crashes on second
call to acedCommand(...).
acedCommand(RTSTR,"-PLOT",RTSTR,"No",RTSTR,"Model", RTSTR, "", RTSTR,
(LPCSTR)printerName, RTSTR, "No", RTSTR, "No", RTSTR, "No",0);
acedCommand(RTSTR,"_preview",0); // crashing at this line.
the above two lines are written inside a function which is itself run in
response to a registered command.
Can anyone help me to figure out why it is happening
thanks in advance.
Ravi