Author |
Message |
Edw.Julliard
| Posted on Sunday, September 05, 2004 - 12:24 pm: | |
Hi, strange problem with Regware 4.00, Delphi 6Ent on XPProSp1 box. First observe on my own app, and then also reproduce with regware/demo2 project. The problem is : - i compiled demo2.exe. After that i launch it (in Delphi IDE or not), all is ok, registering is ok; i can see differences in registry/data blok between before registering and after. - i close delphi - i launched demo2 in normal mode (out of Delphi); ok; registered state is there. i can launch it many times, always register state is ok. - now the problem. i launch delphi and BEFORE any start of the program, i dump the registry/data and WHAT!!, registration datas are reset. If i launch the demo2 in normal mode (without Delphi), the registered state is Off and expired is On ?? Obviously the relation is the Delphi startup. And what can Delphi do at this time. No idea. I'm not enough specialist of Initialization/etc.. of component at Delphi startup/Project open. I cannot think about a normal behaviour. I would appreciate any suggest to correct this. Thanks and regards Edwige |
Winston Kotzan (Wak)
| Posted on Tuesday, September 07, 2004 - 8:52 pm: | |
The same encounter has occured with me also. The problem has something to do with Delphi component initialization, perhaps even a Delphi bug. It is an inconvenience, but it is safe to ignore for your normal software releases. |
Edw.Julliard
| Posted on Wednesday, September 08, 2004 - 4:56 am: | |
Ok, i'll try to get an explanation[or tip for correct] on borland news. If i agree with you about normal software releases, i am iritate by this behaviour that does'nt exists with others components (ok, all of them do not work with registry) and also to have to 'register' after each delphi startup. Saying that, i keep a good opinion about regware
|
Edw.Julliard
| Posted on Saturday, October 23, 2004 - 9:01 am: | |
A Solution : for those who as me does not want to enter register code each time Delphi is started. Just add following line twice: if ComponentState = [csDesigning] then EXIT; first, at the begining of (first line after begin) function TRegware4.DoRegistration(... second, at the begining of procedure TRegware4.SaveRegistryValues; if the TRegWare4 component is already installed in IDE, don't forget to recompile the wreg400_D5.bpl package Edwige
|
Winston Kotzan (Wak)
| Posted on Saturday, October 23, 2004 - 5:34 pm: | |
Thanks for the tip, Ediwge! |
|