I moved some code from .Net for 2006 over to Acad2007
and now none of my CommandMethods work while stepping
through code in the debugger. I just get "unknown command"
at the Acad prompt. What happened?
> I moved some code from .Net for 2006 over to Acad2007
> and now none of my CommandMethods work while stepping
> through code in the debugger. I just get "unknown command"
> at the Acad prompt. What happened?
> Your gonna have to give us some more info.
> It sounds like AutoCAD is not loading your dll.
> FYI, Include some example code. Better yet, a sample project, especially for a problem like this.
If Acad was'nt loading the dll, doesnt seem like I'd be able to step through it in the first place,
which I can, its just that if alt-tab over to Acad and type in a command name I just get a "unknown
command" rather than jumping back to the debugger at the appropriate command.
When not debugging, acad loads the dll (the debug version, there is no release version) and the commands
I have defined them in code like this:
public void add()
So what I have been doing is just place calls to the "commands" inside constructors
> Try this....
THAT DID IT!!!!!!!
Thank you !!!!!
I'm gonna print that page and put it prominently into my binder