B
Bob
Hi,
I down loaded a sample project which I can step through OK.
I took a couple of classes into my own project and when I step through the
above MDA triggers.
The trigger point is inside one of the imported classes as it tries a
windows call.
SendMessage(this.Handle, WM_ERASEBKGND, hDC, 0);
The declaration (which is part of the imported class) is
[DllImport("user32.dll", EntryPoint="SendMessageA")]
private static extern int SendMessage (IntPtr hwnd, int wMsg, IntPtr wParam,
object lParam);
I thought at first that it must be that the MDA can be turned off at project
level so the sample project was running without it. But the Framework help
indicates that it is either on or off at an environment level.
Any ideas on this would be appreciated.
thanks
Bob
I down loaded a sample project which I can step through OK.
I took a couple of classes into my own project and when I step through the
above MDA triggers.
The trigger point is inside one of the imported classes as it tries a
windows call.
SendMessage(this.Handle, WM_ERASEBKGND, hDC, 0);
The declaration (which is part of the imported class) is
[DllImport("user32.dll", EntryPoint="SendMessageA")]
private static extern int SendMessage (IntPtr hwnd, int wMsg, IntPtr wParam,
object lParam);
I thought at first that it must be that the MDA can be turned off at project
level so the sample project was running without it. But the Framework help
indicates that it is either on or off at an environment level.
Any ideas on this would be appreciated.
thanks
Bob