D
Diego F.
Hello. I'm migrating a VB6 application and I found a strange problem.
The project is compiled in VB.NET 2005. The application loads making some
checks, a database connection, and then waits until a timer raises a tick
event. Well, in that point the application stops. I don't know why. The
event doesn't raise up and the application closes without passing by close
events.
Sometimes I get that error when running step by step:
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.
Any idea?
The project is compiled in VB.NET 2005. The application loads making some
checks, a database connection, and then waits until a timer raises a tick
event. Well, in that point the application stops. I don't know why. The
event doesn't raise up and the application closes without passing by close
events.
Sometimes I get that error when running step by step:
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.
Any idea?