Hi,
I just upgrade to Visual Studio 2013. I have to set NEXTFIBERWORLD = 0 so I can debug my code. then I found my code
documentCollection.DocumentActivated += new DocumentCollectionEventHandler(documentCollection_DocumentActivated);
stop working,
What's wrong? what should I do to make it works?
Thank you so much you ro time.
Wes
AutoCAD 2012 (Map, Design Suite), Revit, AIMS, Vault
Windows 7 64 bit,
Jeff is correct. Changing to fiberless operation should be done only when using fibers is causing problems with debugging. And there are some things that don't work when running fiberless - which is one of the reasons we don't yet set AutoCAD to run fiberless by default.
You could also be experiencing issues because you're using VS2013 with AutoCAD 2012. Have you tried using a supported IDE and .NET Framework?
Finally, document switching is an area where we'd expect AutoCAD to behave differently in a fiberless world - because fiber switching is how we keep commands suspended in a document when it becomes inactive and reawaken them when it is reactivated. Can you describe how your code doesn't work as you expect? Perhaps your active command is getting cancelled when you switch documents - if so, that is as expected/designed when not using fibers.