debug Error

debug Error

mirwing76
Contributor Contributor
5,103 Views
3 Replies
Message 1 of 4

debug Error

mirwing76
Contributor
Contributor

- Visual Studio Community 2015 sp3 

- Autocad map 2018

 

 

Error mesage - 

 

Managed Debugging Assistant 'LoaderLock' has detected a problem in 'C:\Program Files\Autodesk\AutoCAD 2018\acad.exe'.

Additional information: DLL 'c:\program files\autodesk\autocad 2018\map\bin\gisplatform\AcMapHiPPIUtility.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.

 

 

MSDN Find.

project property - > Debug -> "Enable the visual studio hosting process" 

"Check -> Uncheck" Don't Select.

 

 

 

5,104 Views
3 Replies
Replies (3)
Message 2 of 4

_gile
Consultant
Consultant

Hi,

 

Open: Debug menu > Windows > Exception Settings.

Expand: Managed Debugging Assistant

Uncheck: LoaderLock

 

LoaderLock.png



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 4

mirwing76
Contributor
Contributor

Thank you for your reply.

 My worries have been resolved.

 

Another question.

Do you know how to modify value or content while running?

 

VS 2015

1. What options do I need to modify?

2. where modify in the code?

0 Likes
Message 4 of 4

_gile
Consultant
Consultant

if you didn't uncheck LoaderLock in the Managed Debugging Assistant before starting Debug, you always can do it while debug is running, even when the 'Loaderlock' exception is thown.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes