silverfrost Site Admin
Joined: 29 Nov 2006 Posts: 191 Location: Manchester
|
Posted: Tue Sep 07, 2004 9:39 pm Post subject: Compiled program does not execute as expected |
|
|
Many runtime problems can be solved by ensuring the correct version of the runtime library is installed correctly.
Salford Win32 applications require the runtime library SALFLIBC.DLL to be available. If there is more than one SALFLIBC.DLL installed on the system it is possible that the incorrect version will be used.
The system will look for the SALFLIBC.DLL in the following order and the first one that is found will be used:
- the path (AppPath) associated with a executable name in the registry
- the directory from which your application executable (.exe) is run
- the Windows system directory
- the directories on the path in order
To Set or check the registry start Regedit and open the key HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp Paths
A key with the same name as your application executable should contain default REG_EXPAND_SZ value that is the path to your executable including the name of the executable itself.
To check what directories are in your path type PATH at the Command Prompt.
We no longer recommend that users place SALFLIBC.DLL in the Windows or Windows System directories because this may cause compatibility issues with other Salford applications. |
|