Summary
Error during TruClient replay: Unresolved symbol : sprintf.
Error
The following error is received during a replay of TruClient script that contains custom C++ funcitions:
C-functions.c (16): Error -- Unresolved symbol : sprintf [MsgId: MERR-205177]
Cause
The issue is caused by a bug in LoadRunner 12.53. It works in the previous versions.
Fix
To fix the issue:
- Download and extract the LrTcMdrvApi.dll file
- Backup the LrTcMdrvApi.dll under %lr_path%\bin (by default, it should be C:\Program Files (x86)\HP\LoadRunner\bin)
- Copy LrTcMdrvApi.dll to %lr_path%\bin and OVERWRITE the one already there.
- Run the script