Kbase P39420: AppBuilder: Error 3166 when adding an OCX to a window
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  23/12/2008 |
|
Status: Verified
SYMPTOM(s):
AppBuilder: Error 3166 when adding an OCX to a window
More than one _U records found by a unique FIND. (3166)
More than one <table> records found by a unique FIND. (3166)
OCX is deleted, then added again
Error occurs very frequently, but not consistently
FACT(s) (Environment):
Progress 8.x
Progress 9.1B
Progress 9.1C
Windows 2000
CAUSE:
Bug# OE00067050
CAUSE:
Changes in the memory management for Windows 2000 cause COM handles to be reused far more frequently on an OS level.
The UIB / AppBuilder did not handle this changed behavior very well.
FIX:
Upgrade to 9.1D or later version
Workaround:
Add the second copy of the OCX to the window before deleting the first one.
Then delete the first one and rename the second one to the correct name.