AutoCAD 2017 another crash while debbuging arx

AutoCAD 2017 another crash while debbuging arx

Anonymous
Not applicable
798 Views
2 Replies
Message 1 of 3

AutoCAD 2017 another crash while debbuging arx

Anonymous
Not applicable

Hi, I have my arx application written completely in C++.

When I try to debug it (just start my app in VisualStudio 2015 in Debug configuration) I get an access violation:

 

"Exception thrown at 0x00007FFB94BF0344 (AcWindows.ni.dll) in acad.exe: 0xC0000005: Access violation reading location 0x0000000000000000."

 

Doesn anyone know how to solve this?

 

 

 

0 Likes
799 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Finally I got it to work I think.

 

This is what I had to do (VS2015):

 

Tools -> Options -> Debugging -> General

Check two options: "Use Managed Compatibility mode" and "Use Native Compatibility mode"

 

Next go to project properties and open Debugging tab:

In "Debuger type" choose "Native only"

 

Message 3 of 3

Anonymous
Not applicable

Unfortunately, when these options are checked, you cannot inspect STL variables, for example wstring 😕

0 Likes