I am just writing this line "SourceCode.K2ROM.Connection mycon = new SourceCode.K2ROM.Connection();" in windows Application (C#), when it executes it gives an error. which is given below:
Managed Debugging Assistant 'LoaderLock' has detected a problem in 'D:RequirementsUtilityand Bill ProjectUltilityBillingWinAppUltilityBillingWinAppinDebugUltilityBillingWinApp.vshost.exe'.
Additional Information: DLL 'D:RequirementsUtilityand Bill ProjectUltilityBillingWinAppUltilityBillingWinAppinDebugK2ROM.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.
can i any one know that how can i use K2.NET By windows Application....
Thanks