Application crashes while using the scroll bars in winForm Datagrid view
Hi all i have a backgr开发者_如何学运维ound worker thread and some unmanaged code dlls , In progress changed event of background worker . I will get the data from my database in a datatable and make this table as my DataSource. But when i use the scrollbards od DataGridView my application crashes.when I try to debug the application it gives "Unhandled exception in TestExe.exe : 0xC0000096: Privileged Instruction.
Don't know why your scrollbars are crashing, but the answer to the "Unhandled exception in TestExe.exe : 0xC0000096: Privileged Instruction" message in the debugger may be here:
- Debugging commands (step over/into) cause unhandled exceptions
Uncheck the "Enable RPC Debugging" option in Tools->Options->Debugging->Native
精彩评论