Consultor Eletrônico



Kbase P117520: How to use a custom PROW32.DLL creating using the oebuild directory?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

How to use a custom Windows executable with OpenEdge?

GOAL:

How to use a custom PROW32.DLL?

GOAL:

How to create a custom Windows client executable with OpenEdge?

FACT(s) (Environment):

OpenEdge 10.x
Windows

FIX:

The procedure to create custom executables for OpenEdge, described in the web paper "Building OpenEdge executables", actually produces a file prow32.dll containing the custom code.
This file is loaded by prowin32.exe upon execution from the current directory.
Therefore, in order to use the custom prow32.dll, do the following:
- place the new prow32.dll in its own directory.
- create a shortcut to prowin32.exe, and specify the directory of the custom prow32.dll as the "Start in" parameter.
- add any required startup parameters to the prowin32 executable.
Alternatively, a script can be written to:
- change the working directory to the directory where the custom prow32.dll is stored.
- run prowin32.exe specifying the full path of the executable.