ashishjain
27th February 2011, 18:13
Hi,
I am getting fatal error while calling a dll through function exec_dll_function.
The error is "can not read session or object..."
I do also suffix "o" with dll name while passing the dll but result is same.
I am getting this error only if dll does not exist in the system. But if dll exists in the system, there is no error.
My scenario is like that...
1. User is passing the dll name through input field present on the form.
2. DLL may be present or dll may not be present...
2.1) If dll exists then it should execute
2.2) if dll does not exist function "exec_dll_function" should return -1
but currently in case of 2.2 system is giving the fatal error.
Is there any other way (or function) to handle it.
quick reply will be appreciated.
Thanks.
I am getting fatal error while calling a dll through function exec_dll_function.
The error is "can not read session or object..."
I do also suffix "o" with dll name while passing the dll but result is same.
I am getting this error only if dll does not exist in the system. But if dll exists in the system, there is no error.
My scenario is like that...
1. User is passing the dll name through input field present on the form.
2. DLL may be present or dll may not be present...
2.1) If dll exists then it should execute
2.2) if dll does not exist function "exec_dll_function" should return -1
but currently in case of 2.2 system is giving the fatal error.
Is there any other way (or function) to handle it.
quick reply will be appreciated.
Thanks.