Consultor Eletrônico



Kbase P95648: Session hangs when starting with session collation -cpcoll set to ICU collation.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/09/2004
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0B
Windows

SYMPTOM(s):

Session hangs when starting with session collation -cpcoll set to ICU collation.

The ICU Linguistic sorting functions cause the session to hang at startup.

Session GPF's when using the new unicode Linguistic sorting, GB18030 and the NORMALIZE function.

The session hangs when starting from a Windows icon but not from a proenv session.

CAUSE:

The ICU linguistic libraries rely on the DLC variable being set before they are used. Starting from a Windows installed image, this is not the case.

CAUSE:

Bug# 20040804-004

FIX:

To resolve the problem set the DLC variable in a batch file before running prowin32.exe as follows:
1. Create a batch file called icufix.bat with the following contents:
@echo off
if "%DLC%"=="" set DLC=<your DLC directory>
if exist "%DLC%"\promsgs goto BIN
echo DLC environment variable not set correctly - Please set DLC variable
goto END
:BIN
set PROEXE="%DLC%\bin\%1"
"%PROEXE%" %2 %3 %4 %5 %6 %7 %8 %9
set PROEXE=
:END
2. Replace <your DLC directory> with the proper directory, and save the batch file in that directory.
3. modify the installed icons which start prowin32 or _progres as the following example:
Change
C:\Progress\10B\DLC\prowin32.exe ...
to
C:\Progress\10B\DLC\icufix.bat prowin32.exe ...
and do the same for _progres.exe.
If there are many parameters on the command line (for example with Dynamics icons) use a .pf file to pass these in to prowin32.exe.
4. Set each icon to run Minimized. This will cause a DOS window to be in the task bar, which will close when execution is completed.