G
Guest
Helo
The Application makes kod.cd file.
After that I use:
CodeDomProvider provider = new CSharpCodeProvider();
and so on - as NSDN shows - Ctr+C and Ctr+V -> working fine.
After good compilation I call SYM object
public class SYM : KOD
{
call some function from KOD;
}
Till now working perfect.
But I can not do this again.
When I try do this I have error that file kod.dll
is used and I can not compile kod.cs to kod.dll again.
Some how I have to free that file from current process.
In order to do this I do:
System.Diagnostics.Process.GetCurrentProcess().Modules[index of
kod.dll].Dispose();
GC.SuppressFinalize(System.Diagnostics.Process.GetCurrentProcess().Modules[i
ndex of kod.dll]);
But it's not working.
I need some help with this.
Robert Janda
The Application makes kod.cd file.
After that I use:
CodeDomProvider provider = new CSharpCodeProvider();
and so on - as NSDN shows - Ctr+C and Ctr+V -> working fine.
After good compilation I call SYM object
public class SYM : KOD
{
call some function from KOD;
}
Till now working perfect.
But I can not do this again.
When I try do this I have error that file kod.dll
is used and I can not compile kod.cs to kod.dll again.
Some how I have to free that file from current process.
In order to do this I do:
System.Diagnostics.Process.GetCurrentProcess().Modules[index of
kod.dll].Dispose();
GC.SuppressFinalize(System.Diagnostics.Process.GetCurrentProcess().Modules[i
ndex of kod.dll]);
But it's not working.
I need some help with this.
Robert Janda