I'm using Delphi 2007, and would like to have my License key be automatically entered when I drop a new gdPicture control on a form or create it dynamically. I've tried modifying the GdPicturePro5_TLB.pas file Delphi uses for thins like InitControlData, and I've tried making a .LIC file, but nothing has worked so far. It would be great if the control checked for a registry setting to obtain the license key, and the installeer could put that value in the registry (just for developers).
Any ideas or examples how I can avoid pasting in the license key each time I create a control or drop it on a form?
Automatic License Entry
Re: Automatic License Entry
Never mind. It turns out that doing this works in the DoCreate methods of the pas file:
FIntf.SetLicenseNumber('xxxxxx');
The only problem is that the license doesn't show up in the design-time properties, but it does work.
FIntf.SetLicenseNumber('xxxxxx');
The only problem is that the license doesn't show up in the design-time properties, but it does work.
Who is online
Users browsing this forum: No registered users and 1 guest