Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image file remains open after creating it with DLL
Message
De
28/09/2004 18:25:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00946791
Message ID:
00946996
Vues:
11
Hugo, Sergey,

Thanks for both of your suggestions:
> Try CLEAR DLLS or CLEAR RESOURCES
and
> I would try
CLEAR RESOURCES (lcImageFileName)
Tried them both, still cannot delete the image file after printing is finished.

Tried this code block after printing report:
   lcImgFile = TmpDBF.imgfile    && where fullpath of filename is stored.
   
   CLEAR RESOURCES (lcImgFile)   && lcImgFile = "C:\APPNAME\2DBARCODE.BMP"
   -or- 
   CLEAR DLLS 
              
   DELETE FILE (lcImgFile)     
which still yields an error message: "Cannot delete a file that is in use". I also tried using a FOR loop with array function ADLLS[] and CLEAR DLLS cAlias to selectively kill the DLL outright, or a declared process of the DLL, but that had no effect on closing the BMP file.

So I think it is now a decision that this Barcode DLL will not work for me and I should look elsewhere for something that does.

Thanks again,
Mark Rietman
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform