Today i cannot find my tool on the docker menu. This tell me also some clients. But it was never a problem until now on my computer.Maybe i need to edit some corel setting file?
Is the same Corel version the code has been designed for?
Did you installed other custom dockers in the mean time?
I found out something:Now I have restored an old version from my git repository.Then it works again.With the newer version I have a licensing tool from Soraco QLM in it. Can it be that Corel or Windows has problem with it when my Docker wants to do the activation of the license in the background?
Note: If I then start the Docker with the QLM. (Latest version) everything works again. It seems that Corel or Windows now sees this Docker as trustyworthy.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
protected string webServiceUrl = "">qlm3.net/.../qlms____.asmx"; public DockerUI(object app) { bool needsActivation = false; string errorMsg = string.Empty; InitializeComponent(); try { this.corelApp = app as corel.Application; stylesController = new Styles.StylesController(this.Resources, this.corelApp); } catch { global::System.Windows.MessageBox.Show("VGCore Error"); } laserTypComboBox.SelectedIndex = 0; LoadData(); bool licenseValid = lv.ValidateLicenseAtStartup(Environment.MachineName, ref needsActivation, ref errorMsg); if (needsActivation || !licenseValid) { TB_License_Info.Text = licenseValid.ToString(); } if (licenseValid) { int temp = lv.EvaluationRemainingDays; Expander_Settings.IsExpanded = false; //string filter = String.Format("OrganizationName='{0}'"); string dataSet = string.Empty; string response = string.Empty; if (temp == -1) { var name = lv.QlmLicenseObject.GetCustomerInfo(webServiceUrl, activationKey);// (webServiceUrl, activationKey, out name); TB_License_Info.Text = licenseValid.ToString(); LicFeatures = ((byte)lv.QlmLicenseObject.Features); } else { TB_License_Info.Text = errorMsg; Expander_Settings.IsExpanded = true; LicFeatures = lv.QlmLicenseObject.Features; } } else { Expander_Settings.IsExpanded = true; TB_License_Info.Text = errorMsg; LicFeatures = 0; } LicFeatures = lv.QlmLicenseObject.Features; SetFeatures(); string version = corelApp.Application.VersionMajor.ToString(); TB_Info.Text = "CorelDRAW Version " + version; }
Maybe this "Soraco QLM", when used, checks (somehow) if the license exists on the computer/user running it and open a Registry key 'telling' that the license is OK. Then, it only checks this key...