Consultor Eletrônico



Kbase 30552: Error 3258 in version 8 with USER.EXE, KERNEL,EXE, KRNL386.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Solution ID: P552

FACT(s) (Environment):

Progress 8.2x
Progress 8.3x
Progress 9.x
Windows 32 Intel
Windows NT 32 Intel/Windows 2000

SYMPTOM(s):

Could not load DLL procedure <procedure>. (3258)

Could not find the entrypoint <function>. (3260)

CHANGE:

The OPSYS parameter was changed from its default of WIN32 to MSDOS

CAUSE:

Several pieces of the Progress development environment (Procedure Editor, Data Administration, AppServer) use the OPSYS parameter internally to see whether a 16-bit or 32bit call should be made. By changing the value that the OPSYS function returns to 'MSDOS' it caused the Progress development environment to assume a 16-bit operating environment which in turn caused Progress to invoke the 16-bit variations of the Windows API rather than the needed 32-bit ones.

Old 16bit     New 32Bit
name          name
------------  ------------
USER.EXE      USER32.DLL
KERNEL.EXE    KERNEL32.DLL
KRNL386.EXE   KERNEL32.DLL

FIX:

Reset the OPSYS parameter to its default value then change the application to use a user defined environment variable instead of OPSYS.