Link to home
Start Free TrialLog in
Avatar of Robotron5673
Robotron5673Flag for United States of America

asked on

Procedure Entry Points not found

I am using Wise for Windows Installer to install an program written in Borland Delphi 7. After installing the program into the test enviroment, I recieve the following errors.

The procedure entry point _ftol2 could not be located in the dynamic link library msvcrt.dll.

The procedure entry point lstrcpynI could not be located in the dynamic link library MSDART.dll.

I am not sure where to categorize this question. Any help is appreciated. This is urgent, I have been trying to find a solution to this for 2 weeks now.

Avatar of Emmanuel PASQUIER
Emmanuel PASQUIER
Flag of France image

1) I suppose you have checked that the dll are the same one as in your dev station, and in which directory are they setup ?
2) can you check that there is no other copy of those dll elsewhere in your system (it should be only in  %windir%\System32 )
3) what if you copy the files of your app manually to the test station
4) is it the same in a 3rd station ?
Avatar of Robotron5673

ASKER

The msvcrt.dll s have different versions. They are kept in WINNT\system32 folder.

There are other copies of msvcrt.dll in other folders.

I have tried to install this on another computer besides the test enviroment and get the same errors.
It means that these libraries at the workstation where it's installed has different version than what is expected by the application. If the application is expecting entries that don't exist, most likely the libraries at the workstation are older.

Do you distribute these libraries with your installation?

If you don't, don't rush to do it. These libraries are very "core" system libraries, and if you try to replace them on the client's computer, it may not work at all because of system file protection, or it may break other applications. The safest approach to this would be to use so called isolation, which is advanced installation technique, but it's only available in premium professional installation packages.
ASKER CERTIFIED SOLUTION
Avatar of Emmanuel PASQUIER
Emmanuel PASQUIER
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks. I put the dll's in with the program.