I am having an issue with the InitTrial killing my application without warning or notice if the trial is expired.
I have designed my own window for registering the license (so that I can provide the user with supplemental information), and it works great if the application is within the trial limit or if the product is already registered. The issue is that when the call to InitTrial is run, the application just stops.
Code: Select all
[DllImport("Licensing.dll", EntryPoint = "ReadSettingsStr", CharSet = CharSet.Ansi)]
private static extern uint InitTrial(string aKeyCode, IntPtr aHWnd);
Thanks,
Francis