Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #7858
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Showing JPG bigger than 600kB |
| Date | Wed, 11 Mar 2015 16:50:49 +0100 |
| Lines | 48 |
| Message-ID | <cmb6ioFd9piU1@mid.individual.net> (permalink) |
| References | <64839073-15b5-4c86-82d6-e05b03c61cbb@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| X-Trace | individual.net hYpi56CaFjqu5ti2vcm7VQBM2FS96dyqFlCOzjAbfTvsBMp4w= |
| Cancel-Lock | sha1:KD0BAayvd1z78X+skQ0+EnlBcos= |
| User-Agent | XanaNews/1.18.1.6 |
| Xref | csiph.com comp.lang.clipper.visual-objects:7858 |
Show key headers only | View raw
Hi Joe,
this is caused by the (now very outdated) CAPaint.dll.
You could try to find a FabPaint lib as drop-in replacement, go to
fabtoys.net.
Best thing would be to upgrade to VO 2.8 SP4.
Wolfgang
> i got an old project (VO27b) to fix.
> JPG files should be loaded, shown in a fixed bitmap
> and stored in database.
> Maybe an old library? If yes, please tell me where i can get some
> fixed/new stuff.
>
> hf := FOpen(sFilename)
> IF hf != F_ERROR
> nSize := FSeek(hf, 0, FS_END)
> FSeek(hf, 0, FS_SET)
> pDib := MemAlloc(nSize)
> IF FRead3(hf, pDib, nSize) <> nSize
> MessageBox(0, String2Psz(DosErrString(FError())),
> String2Psz("ERROR "), MB_ICONSTOP) FClose(hf)
> MemFree(pDib)
> RETURN NIL
> ENDIF
>
> pBitMap := DIBCreateFromPTR(pDib,nSize)
> FClose(hf)
> IF pBitMap == NULL_PTR
> MessageBox(0, String2Psz("Error reading image"), String2Psz("ERROR
> "), MB_ICONSTOP) MemFree(pDib)
> RETURN NIL
> ENDIF
>
> Program rans always into "Error reading image" when i try to open a
> bigger JPG than 600kB.
>
> Please help!
> Thx,
> Joe
--
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Showing JPG bigger than 600kB Joe Bench <zweitaktfan@gmail.com> - 2015-03-11 07:29 -0700
Re: Showing JPG bigger than 600kB "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-03-11 16:50 +0100
Re: Showing JPG bigger than 600kB Joe Bench <zweitaktfan@gmail.com> - 2015-03-13 00:20 -0700
Re: Showing JPG bigger than 600kB "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-03-13 10:27 +0100
Re: Showing JPG bigger than 600kB Mathias <mathias.hakansson@consultec.se> - 2015-03-13 03:30 -0700
Re: Showing JPG bigger than 600kB Joe Bench <zweitaktfan@gmail.com> - 2015-03-13 04:58 -0700
Re: Showing JPG bigger than 600kB Mathias <mathias.hakansson@consultec.se> - 2015-03-16 05:18 -0700
Re: Showing JPG bigger than 600kB Joe Bench <zweitaktfan@gmail.com> - 2015-03-18 00:38 -0700
csiph-web