showdialog() "system access violation" exception on importing C dll in C#
This C# program works fine without using showdialog() but it creates  "system access violation" exception when i tried to use showdialog().

Here's the[ SourceCode][1]





  [1]: https://docs.google.com/document/d/1NPGTkwk-cGXqUeW7VTbeeh87co-OiJW42VEQemKb0wY/edit?hl=en_US
showdialog() "system access violation" exception on importing C dll in C#
===

This C# program works fine without using showdialog() but it creates  "system access violation" exception when i tried to use showdialog().

Here's the[ SourceCode][1]





  [1]: https://docs.google.com/document/d/1NPGTkwk-cGXqUeW7VTbeeh87co-OiJW42VEQemKb0wY/edit?hl=en_US