Thanks For the Guidance Madam. My DLL Execution Problem is resolved. The line nRet = VeryPDF_PDF2Vector(strcmd)
was causing Error perhaps as I am using Parallel Fox, the VeryPDF_PDF2Vector() generates error for some reasons not known to me. (May be two or more instances may not be permitted at the same time)
But the TRY Catch as you told yesterday resolved the issue. Moreover I learnt to use Try-catch a little bit.
Thanks
Harsh
>>>It is possible to keep trying. I would change the code this way then
>>>
>>>llReTry = .f.
>>>lnAttempts = 0
>>>try
>>>
>>> code that may fail
>>>catch to loError
>>> if loError.ErrorNo = 2027
>>> llReTry = .t.
>>> endif
>>>endtry
>>>
>>>
>>>do while m.llReTry = .t. and m.lnAttempts <= 10
>>> lnAttempts = m.lnAttempts + 1
>>>
>>> try
>>>
>>> code that may fail
>>> llReTry = .f.
>>>catch to loError
>>> if loError.ErrorNo = 2027
>>> llReTry = .t.
>>> endif
>>>endtry
>>>
>>>enddo
>>>
>>
>>
>>Thank you Very-Very Much. I will Study it more and try to incorporate it based on all the guidance you have given and will let you know tomorrow that how it works.
>>Thanks a lot again.
>
>Good luck!
Harsh