Loader Lock error with TeeChart 2013
Posted: Tue Jul 02, 2013 12:58 am
We just migrated from TeeChart8 to TeeChart2013. In our VC++ project we have CLR switch turnedon. Now when we call Create method of CTChart class we get LoaderLock error as follows:
Managed Debugging Assistant 'LoaderLock' has detected a problem in abc.exe'.
Additional Information: 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.
This used to work fine with TeeChart8. Any idea what may have changed in TeeChart 2013?
Managed Debugging Assistant 'LoaderLock' has detected a problem in abc.exe'.
Additional Information: 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.
This used to work fine with TeeChart8. Any idea what may have changed in TeeChart 2013?