Unix
v11.3
Hey all. I had posted a question about needing to find code for a zip code calculation, which Rod provided. The code works fantastic, as long as I run the code from a Windows GUI Procedure editor.
But I need to be able to run it on Unix.
I need the Unix version of this procedure to work, I get an error message b/c the file is not found. How do I solve this issue?
This is the Windows version, it works great from Windows machine.
PROCEDURE cosbu EXTERNAL "MSVCRT40.DLL" CDECL:
DEFINE INPUT PARAMETER dblValue AS DOUBLE NO-UNDO.
DEFINE RETURN PARAMETER dblResult AS DOUBLE NO-UNDO.
END PROCEDURE.
This is the Unix version. I get an error when I run it due to the Progress installation not having the file or it uses a different file.
PROCEDURE cos EXTERNAL "/usr/lib/libm.1" CDECL:
DEFINE INPUT PARAMETER dblValue AS DOUBLE NO-UNDO.
DEFINE RETURN PARAMETER dblResult AS DOUBLE NO-UNDO.
END PROCEDURE.
This is the error message sent to the appServer log file.
Could not load DLL procedure /usr/lib/libm.1. (3258)
Any help would be greatly appreciated. If I can get past this one obstacle I'll be golden.
....
Dean
v11.3
Hey all. I had posted a question about needing to find code for a zip code calculation, which Rod provided. The code works fantastic, as long as I run the code from a Windows GUI Procedure editor.
But I need to be able to run it on Unix.
I need the Unix version of this procedure to work, I get an error message b/c the file is not found. How do I solve this issue?
This is the Windows version, it works great from Windows machine.
PROCEDURE cosbu EXTERNAL "MSVCRT40.DLL" CDECL:
DEFINE INPUT PARAMETER dblValue AS DOUBLE NO-UNDO.
DEFINE RETURN PARAMETER dblResult AS DOUBLE NO-UNDO.
END PROCEDURE.
This is the Unix version. I get an error when I run it due to the Progress installation not having the file or it uses a different file.
PROCEDURE cos EXTERNAL "/usr/lib/libm.1" CDECL:
DEFINE INPUT PARAMETER dblValue AS DOUBLE NO-UNDO.
DEFINE RETURN PARAMETER dblResult AS DOUBLE NO-UNDO.
END PROCEDURE.
This is the error message sent to the appServer log file.
Could not load DLL procedure /usr/lib/libm.1. (3258)
Any help would be greatly appreciated. If I can get past this one obstacle I'll be golden.
....
Dean