EventsWatcher Sample in ObjectsARX 2013

EventsWatcher Sample in ObjectsARX 2013

Anonymous
Not applicable
671 Views
3 Replies
Message 1 of 4

EventsWatcher Sample in ObjectsARX 2013

Anonymous
Not applicable

I have tried to build the EventsWatcher Sample project in ObjectARX 2013 (also in 2011) but error message says Namespace 'Windows' and 'Drawings' are not in Namespace 'System' and suggest am I missing a reference. The readme file only says I have to reference two managed dlls. There are four ...Mgd.dll in the inc folder. Which are the once I should reference?.

Thanks for any help.

AloyH

0 Likes
672 Views
3 Replies
Replies (3)
Message 2 of 4

kerry_w_brown
Advisor
Advisor

 

I just built the project from the SDK without issue.

Did you open the  EventsWatcher.csproj file in visual studio ??  .. or one of the .cs files ?

 

for info, the AutoCAD dlls referenced are

...\ObjectARX 2013\inc\accoremgd.dll

...\ObjectARX 2013\inc\acdbmgd.dll

...\ObjectARX 2013\inc\acmgd.dll

 

the others you mention are

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll

 

Regards

 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes
Message 3 of 4

Anonymous
Not applicable

Thank you very much Kerry. Your info helped a lot. There are eight .Net events and I am trying to find examples of implimenting them. Any location where I can find them?

Regards,

AloyH

0 Likes
Message 4 of 4

kerry_w_brown
Advisor
Advisor

@Anonymous wrote:

<..>  There are eight .Net events and I am trying to find examples of implimenting them. Any location where I can find them?

Regards,

AloyH


 

Depends what they are 🙂

 

Have you seen

http://adndevblog.typepad.com/autocad/2012/04/dwg-debugger-mgddbg-app-for-autocad-20122013.html


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes