Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 2027 DLL Caused an Exception
Message
From
11/02/2014 15:25:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01593920
Message ID:
01594084
Views:
73
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
Previous
Reply
Map
View

Click here to load this message in the networking platform