Switch to standard view 
  Sybase logo
 
 
 



PowerDesigner AppModeler 6.0.x Error cannot load dynamic library pborc0x0.dll

This technical document addresses the occurrence and solution of the following error message:

Cannot load dynamic library PBORC050.DLL. Please ensure that the PowerBuilder directory is in the PATH.



The pborc050.dll is a PowerBuilder file that is needed by AppModeler for PowerBuilder to create and manipulate PowerBuilder applications and PowerBuilder extended attributes.

This error message is normally obtained because of one of the following reasons:
The pborc050.dll has not been installed.
The pborc050.dll has been installed improperly.
The pborc050.dll is in a directory that the AppModeler for PowerBuilder application does not know exists.


To resolve this error message do the following:

For a 16-bit installation:
1) Search your hard drive to ensure that the pborc050.dll is installed on the workstation.

2) If the pborc050.dll is installed, make sure that it is in the c:\pwrs\sys directory. If it is not in this directory, move it to this directory.
3) Add c:\pwrs\sys to the path in the autoexec.bat for Windows 3.x and Windows 95. For Windows NT, add the path to the system or user path variable.
4) Reboot the workstation

For a 32-bit installation:

NOTE: The following instructions assume PowerBuilder has been installed using short file names. If PowerBuilder has been installed using long file names, refer to the Determining Short File Name Alias for Long File Names section of this document if you want to preserve environment space.

On Windows NT:
1) Search your hard drive to ensure that the pborc050.dll is installed on the workstation.2) If the pborc050.dll is installed, make sure that it is in the c:\pwrs\sys32 directory. If it is not in this directory, move it to this directory.
3) Add c:\pwrs\sys32 to the system or user path variable.
Open the Control Panel
Double click on the System Icon and select the Environment Tab
In the System Variables section, scroll to the PATH variable and select it.
Add c:\pwrs\sys32 in the Value edit line.
On the Windows 95 platform there are two options to resolve the error message, the use of the autoexec.bat file or the use of the App Path in the registry.

To use the autoexec.bat file:
1) Search your hard drive to ensure that the pborc050.dll is installed on the workstation.2) If the pborc050.dll is installed, make sure that it is in the c:\pwrs\sys32 directory. If it is not in this directory, move it to this directory.
3) Add c:\pwrs\sys32 to the path of the autoexec.bat
4) Reboot your workstation

OR

To add an APP Path:

1) Search your hard drive to ensure that the pborc050.dll is installed on the workstation.2) If the pborc050.dll is installed, make sure that it is in the c:\pwrs\sys32 directory. If it is not in this directory, move it to this directory.
3) From the Start command select RUN
4) Execute the regedit.exe file
5) In the registry go to the following location
HKEY_LOCAL_MACHINE
SOFTWARE
MICROSOFT
WINDOWS
CURRENT VERSION
APP PATHS
6) Determine if the PDPB6.exe key exists. If this key already exists, goto step 8. If the PDPB6.exe key does not exist, you must create a new key.
7) To create a new key do the following:
a) Select App Paths and go to the EDIT menu item
b) Select new and then key.
c) Name the new key PDPB6.exe
d) Select the PDPB6.exe key
e) Modify the Default Value string
i) Right mouse click on Default
ii) Select Modify and enter the path of AppModeler for PowerBuilder. 8) Add a new string value to the PDPB6.exe key
a) Right mouse click on the PDPB6.exe key
b) Select NEW
c) Select String Value
9) Rename the new String Value to "Path"
10) Modify the Path string value and include the location of the files that this application should reference upon start up.
C:\pwrs\sys32 must be added. Other recommended files are PowerBuilder and SQL Anywhere. There locations are c:\pwrs\pb5i32; c:\sqlany50\win32;

<< Screen shot of the completed PDPB6.exe key >>

Determining the Short File Name Alias for Long File Names

When trying to add long file names to the autoexec.bat file the short file alias for that file should be used. There are a couple of options to obtain this information. The following instructions assume that the 32bit version of PowerBuilder has been installed using the installation defaults.

To determine what the short version of a long file name from explorer
1) Right mouse click on the Program Files directory and select properties.
2) On the General tab, take note of the MS-DOS Name. This is the short file alias for the long file name.
3) Right mouse click on the Common Files subdirectory and select properties.
4) On the General tab, take note of the MS-DOS Name. This is the short file alias for the long file name.
5) Right mouse click on the Powersoft Shared subdirectory and select properties.
6) On the General tab, take note of the MS-DOS Name. This is the short file alias for the long file name.


OR

On a Windows 95 workstation, from a DOS prompt, type: dir <enter>
The short file name for the directory will be displayed on the left side of the screen.
On a NT workstation, from a DOS prompt type: dir /x <enter>

If PowerBuilder was installed using the default directory, the short file name path alias for the Powersoft shared directory should be as follows:
C:\progra~1\common~1\powers~1

Long File Name Aliases

This section lists the long file name and short file name directory structure and why the directory should be referenced.
Long File NameShort File NameUse
C:\Program Files\Common Files\Powersoft SharedC:\Pwrs\Sys32The pborc050.dll should be moved to this directory and the directory should be added to the path.
C:\Powersoft\PowerBuilder 5C:\Pwrs\Pb5i32PowerBuilder home directory. Needed for the App Path for the pdpb6.exe or PDPB6.exe key.
C:\Powersoft\PowerDesignerC:\Pwrs\Pd6\pdpb6.exeNeeded for the App Path for PowerDesigner 6.x


Back to Top
© Copyright 2010, Sybase Inc.