Categoría: C Sharp


Debug Problems – ContextSwitchDeadlock –

While debugging an application written in C #, I found the following error, Context «ContextSwitchDeadlock». The process waits to load a file in txt. ContextSwitchDeadlock detected Message: The CLR could not make the COM...


Get and set .ini file values c #

Suppose you have an .ini file with the following information: [Data] Count=5 The following functions will allow you to obtain and modify your configuration file in a simple way: using System.Runtime.InteropServices; using System.Text; namespace...