Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 2027 DLL Caused an Exception
Message
De
11/02/2014 15:25:56
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01593920
Message ID:
01594084
Vues:
70
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform