Hi there,
i am using VS 2005 with the .net 2.0 runtime.
When i run any of your samples, or run my own c# projects,
theres is always a "OS Loader Lock" triggered.
Here is the full error message:
-- quote --
"DLL 'C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\Visual Studio 2005\Projects\Sample7_ExternalInterface\bin\FlashPlayerControl.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."
-- quote --
This sounds a bit weird.
According to the Microsoft Documentation we can read:
"Typically, several threads inside the process will deadlock. One of those threads is likely to be a thread responsible for performing a garbage collection, so this deadlock can have a major impact on the entire process. Furthermore, it will prevent any additional operations that require the operating system's loader lock, like loading and unloading assemblies or DLLs and starting or stopping threads.
In some unusual cases, it is also possible for access violations or similar problems to be triggered in DLLs which are called before they have been initialized."
Any workaround for this?
Kind Regards,
MeisterEder :!