Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfpimage.zip
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Miscellaneous
Thread ID:
00699980
Message ID:
00700024
Views:
15
Are you calling the IMGVClear method at the end?
IF IMGLoad(ard1.image_file) = 2
  =IMGConvert("C:\APPSTEMP\ARD.BMP",1,0)
  =IMGClear()
ENDIF
The above is my code to load the image whose name is stored in the ard1.image_file and convert it to a BMP. Works on Win2K, Win98, and WinXP with no C00000005 errors. It ran when my code was in VFP6, and it still runs in VFP7 SP1.


HTH
Randy


>Hello all!
>
>I need to convert BMP file to JPEG (in batch processing)
>
>So I have found this in the Download section:
>Image Conversion and Compression
>Download the file vfpimage.zip
>from Neil Tonkin
>
>It do exactly what I want, but I always receive error C0000005, when I leave the application. It's like I'm missing memory or something after a while...
>
>For the moment, I use praticly the same code as in the exemple/doc.
>
>Is it because I need to RELEASE something?
>I'm using VFP7 SP1.
>
>Thank's in advance for all your answers or idea.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform