User (Legacy) Posted February 22, 2005 Report Posted February 22, 2005 Hi : I'm using ChartFx98 I tried to register ChartFx98 in other Pc , but I can't SFXBAR.DLL CFX4032.OCX CFX4DATA.DLL (if used) ANNOTATEX.DLL (if used) I copied all files into \Program Files\Common Files\Software FX Shared after that I registered all files. But the control isn't ready to use with me app. Any solution ? thanks in advice -- Saludos Vikthor http://listoelpollo.blogspot.com
Software FX Posted February 23, 2005 Report Posted February 23, 2005 What error do you get ? Dos RegSvr32 throw any error ? If not, you are probably having a license problem. How was this executable created ? how was the chart included (design-time, run-time ?) ? -- FP Software FX
User (Legacy) Posted March 14, 2005 Author Report Posted March 14, 2005 "Vikthor" wrote... > I'm using ChartFx98. I tried to register ChartFx98 in other Pc , but I can't > > SFXBAR.DLL > CFX4032.OCX > CFX4DATA.DLL (if used) > ANNOTATEX.DLL (if used) > > I copied all files into \Program Files\Common Files\Software FX Shared after > that I registered all files. But the control isn't ready to use with me app. Hi Vikthor, It is not clear, whether you register the files manually (using regsvr32.exe) or automatically from the application. It happened to us that we registered the files automatically, but the registration unexpectedly failed. We do use Cfx4032.dll instead of the mentioned OCX version, but the behaviour can be similar. When registering the Cfx4032.dll automatically from our application, the registration fails when SfxBar.dll is not found. (We distribute only the two mentioned dll's and we put them both to the same directory, not necessarily to the \Program Files\....) After doing some experiments it seems that Cfx4032 searches for the SfxBar during the registration. It seems that it searches in the working directory and then in the directories listed in the PATH variable. In our case, the working directory was different, and the dll's directory was not listed in PATH. Solution: Just before registering the Cfx4032.dll, the application temporarily switches the working directory to the one where both dll's are located. After doing that, we have no problem with registration any more. Regards, Petr -- Petr Prikryl (prikrylp at skil dot cz) Pokud nele
Recommended Posts
Archived
This topic is now archived and is closed to further replies.