Click here to Skip to main content
15,903,362 members

Comments by Member 13654266 (Top 10 by date)

Member 13654266 20-Oct-20 9:08am View    
i want embedded lservrc (this is a license file) in my dll
and call this from dll
mean my dll dont search for this file in path
Member 13654266 20-Oct-20 9:08am View    
Deleted
i want embedded lservrc (this is a license file) in my dll
and call this from dll
mean my dll dont search for this file in path
Member 13654266 20-Oct-20 9:00am View    
ok can u tell me what do this code ?

string text = Path.Combine(this.coreProduct_0.ProductCommonFolderPath, "lservrc");
if (File.Exists(text))
{
Environment.SetEnvironmentVariable("LSERVRC", text);
return;
}
Member 13654266 20-Oct-20 8:55am View    
Deleted
okcan u tell me what do this code ?

string text = Path.Combine(this.coreProduct_0.ProductCommonFolderPath, "lservrc");
if (File.Exists(text))
{
Environment.SetEnvironmentVariable("LSERVRC", text);
return;
}
Member 13654266 20-Oct-20 7:59am View    
i dont have source code
try use debug tool for source and add file in Resources
but dont underestand how call this in code like this

Environment.SetEnvironmentVariable("LSERVRC", text);
text is a path + name of file