I am trying to find a way to debug my application but it is very difficulty for me. The error is when I close the program, sometimes it shows the error code as below:
Unhandled exception at 0x7537812f in Sample.exe: 0xC0020001: The string binding is invalid
My application is a windows form written in C# in Visual studio 2012 Professional and the program uses some native functions from a dll which is written in C. I researched on the internet but almost all solutions are not using static variables or compile the dll with /clr
in Visual Studio for C++, but my dll is C code from third party and it is built by MingGW so I can't follow these solutions. To change the static variables is impossible.
Please help me to find the solution for it?